diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-30 21:13:41 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-30 21:13:41 -0400 |
| commit | d330bbf25a7a9bb48eaef4f717ce243e065f85b8 (patch) | |
| tree | 2c808bb071e547bc26900aee349f880cf80822ed /commands/Pokemon/join.js | |
| parent | 2622255cd43f787c37951cbc9b70168b433f32ad (diff) | |
| download | PokeBot-d330bbf25a7a9bb48eaef4f717ce243e065f85b8.tar.gz PokeBot-d330bbf25a7a9bb48eaef4f717ce243e065f85b8.tar.bz2 PokeBot-d330bbf25a7a9bb48eaef4f717ce243e065f85b8.zip | |
whitelist
Diffstat (limited to 'commands/Pokemon/join.js')
| -rw-r--r-- | commands/Pokemon/join.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/Pokemon/join.js b/commands/Pokemon/join.js index 506fabb..bae820a 100644 --- a/commands/Pokemon/join.js +++ b/commands/Pokemon/join.js @@ -19,7 +19,8 @@ * *************************************/ exports.run = async (bot, msg, args) => { - if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!'); + 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!'); if (args.length < 1) return msg.reply('Please choose a team to join'); |
