From 76be4e7360efd57d18b4fbd8d1db4534d126efbb Mon Sep 17 00:00:00 2001 From: Emily J Date: Sun, 18 Oct 2020 19:27:51 +1100 Subject: [PATCH] mark as guild only --- bot/commands/Configuration/disable.js | 3 ++- bot/commands/Configuration/enable.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bot/commands/Configuration/disable.js b/bot/commands/Configuration/disable.js index 36845c0..39e6966 100644 --- a/bot/commands/Configuration/disable.js +++ b/bot/commands/Configuration/disable.js @@ -6,7 +6,8 @@ class Disable extends Command { description: 'Disables a command/category so they can\'t be used in this server.', usage: '`disable command [command]` - Disables the specified command.\n`disable category [category]` - Disables the specified category.', examples: '`disable command cuddle`\n`disable category music`', - userPerms: ['ADMINISTRATOR'] + userPerms: ['ADMINISTRATOR'], + guildOnly: true }); } diff --git a/bot/commands/Configuration/enable.js b/bot/commands/Configuration/enable.js index da7adac..2beeb0d 100644 --- a/bot/commands/Configuration/enable.js +++ b/bot/commands/Configuration/enable.js @@ -6,7 +6,8 @@ class Enable extends Command { description: 'Re-enables a previously disabled command/category.', usage: '`enable command [command]` - Enables the specified command.\n`enable category [category]` - Enables the specified category.', examples: '`enable command cuddle`\n`enable category music`', - userPerms: ['ADMINISTRATOR'] + userPerms: ['ADMINISTRATOR'], + guildOnly: true }); }