diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-30 21:20:03 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-30 21:20:03 -0400 |
| commit | b4e267a6bc456e4b72602966011a18e21559ac8e (patch) | |
| tree | 9c444a7794385d668ddcd686eddf605539f941c4 /commands/Pokemon/claim.js | |
| parent | d9d41aa8a2593d9e9171af9de93c043fe96ea5e6 (diff) | |
| download | PokeBot-b4e267a6bc456e4b72602966011a18e21559ac8e.tar.gz PokeBot-b4e267a6bc456e4b72602966011a18e21559ac8e.tar.bz2 PokeBot-b4e267a6bc456e4b72602966011a18e21559ac8e.zip | |
i can feel the day where i don't need to test anything
Diffstat (limited to 'commands/Pokemon/claim.js')
| -rw-r--r-- | commands/Pokemon/claim.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/Pokemon/claim.js b/commands/Pokemon/claim.js index 3f9ba6c..4ad8a78 100644 --- a/commands/Pokemon/claim.js +++ b/commands/Pokemon/claim.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.channel.name.startsWith('gym-')) return msg.reply('Go into one of the gym channels and try again.'); if (msg.channel.topic == 'Current Owner: *none*') { let team; |
