update/fix pingonpanic
This commit is contained in:
1 parent
3df8bc70e8
commit
1cbe4356bc
2 files changed
+5
-5
No files matched your search
@@ -1,14 +1,14 @@
|
||||
const { MessageEmbed } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
name: "",
|
||||
description: "",
|
||||
name: "pingonpanic",
|
||||
description: "Get ping on panic status",
|
||||
usage: "",
|
||||
permissions: {
|
||||
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
|
||||
member: [],
|
||||
},
|
||||
aliases: [],
|
||||
aliases: ["pingonpanicstatus"],
|
||||
/**
|
||||
*
|
||||
* @param {require("../structures/LinesPoliceCadBot")} client
|
||||
@@ -35,7 +35,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
let guild = await client.dbo.collection("prefixes").findOne({"server.serverID":interaction.guild.id}).then(guild => guild);
|
||||
return interaction.send(`Current Ping on Panic Status: ${guild.server.pingOnPanic}`);
|
||||
return interaction.send(`Current Ping on Panic Status: \` ${guild.server.pingOnPanic.toString().toUpperCase()} \``);
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -53,7 +53,7 @@ module.exports = {
|
||||
value: "role",
|
||||
type: 8,
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
],
|
||||
/**
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user