aboutsummaryrefslogtreecommitdiff
path: root/commands/Pokemon/forcedrop.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Pokemon/forcedrop.js')
-rw-r--r--commands/Pokemon/forcedrop.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/Pokemon/forcedrop.js b/commands/Pokemon/forcedrop.js
index da06f5d..b2fae13 100644
--- a/commands/Pokemon/forcedrop.js
+++ b/commands/Pokemon/forcedrop.js
@@ -19,8 +19,8 @@
* *************************************/
exports.run = async (bot, msg) => {
- const isWhitelist = await bot.plugins.isWhitelist(msg.guild.id);
- if (isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. Sorry!');
+ const isWhitelist = await bot.plugins.whitelist.isWhitelist(msg.guild.id);
+ if (!isWhitelist) return msg.reply ('This is a Whiltelisted command. Get your server whitelisted by joining our server at https://discord.me/thedigitalregion and asking in the general channel. Sorry!');
if (!msg.member.hasPermission('MANAGE_MESSAGES')) return msg.reply('You don\'t have permssion to ban members.');
if (!msg.channel.name.startsWith('gym-')) return msg.reply('Go into one of the gym channels and try again.');