From b4e267a6bc456e4b72602966011a18e21559ac8e Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 30 Mar 2018 21:20:03 -0400 Subject: i can feel the day where i don't need to test anything --- commands/Pokemon/leave.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands/Pokemon/leave.js') diff --git a/commands/Pokemon/leave.js b/commands/Pokemon/leave.js index 5682d8e..716608b 100644 --- a/commands/Pokemon/leave.js +++ b/commands/Pokemon/leave.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.roles.find('name', 'Skull')) { msg.member.removeRole(msg.guild.roles.find('name', 'Skull')); -- cgit v1.2.3