From bedf64dee93049940b7a35ee282a2e75d84d133b Mon Sep 17 00:00:00 2001 From: pokesudenk Date: Tue, 27 Feb 2018 19:57:28 -0500 Subject: added pokeworld exclusive commands kekek --- commands/Pokemon/tradegym.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'commands/Pokemon/tradegym.js') diff --git a/commands/Pokemon/tradegym.js b/commands/Pokemon/tradegym.js index f10e3fa..08f753c 100644 --- a/commands/Pokemon/tradegym.js +++ b/commands/Pokemon/tradegym.js @@ -19,7 +19,8 @@ * *************************************/ exports.run = async (bot, msg) => { - + if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!'); + if (!msg.channel.name.startsWith('gym-')) return msg.reply('Go into one of the gym channels and try again.'); let team; if (msg.member.roles.find('name', 'Aqua')) team = 'Aqua'; -- cgit v1.2.3