8.0 Dev 1.2
Reworked configuration files & completed upgrade to V14
This commit is contained in:
1 parent
4e081358ff
commit
4eadef8b65
13 files changed
+373
-79
No files matched your search
@@ -28,14 +28,6 @@ module.exports = new Command({
|
||||
async run(interaction) {
|
||||
let disableCommand = true;
|
||||
|
||||
if (cmdconfig.CloseTicket.Enabled === false) {
|
||||
if (interaction.type === Discord.InteractionType.ApplicationCommand && disableCommand)
|
||||
return interaction.reply({
|
||||
content: ":x: This command is `disabled`",
|
||||
ephemeral: true,
|
||||
});
|
||||
}
|
||||
|
||||
const { getRole, getChannel } = interaction.client;
|
||||
if (supportbot.StaffOnly) {
|
||||
let SupportStaff = await getRole(supportbot.Staff, interaction.guild);
|
||||
|
||||
Reference in new issue
Block a user