aboutsummaryrefslogtreecommitdiff
path: root/commands/Pokemon/tradegym.js
diff options
context:
space:
mode:
authorpokesudenk <thisis@notarealema.il>2018-02-27 19:57:28 -0500
committerpokesudenk <thisis@notarealema.il>2018-02-27 19:57:28 -0500
commitbedf64dee93049940b7a35ee282a2e75d84d133b (patch)
tree3dd85e729ad803086219916efb139e6ded9d667a /commands/Pokemon/tradegym.js
parentc1054ad794fcd64199eefe371e9d7f328323d5d2 (diff)
downloadPokeBot-bedf64dee93049940b7a35ee282a2e75d84d133b.tar.gz
PokeBot-bedf64dee93049940b7a35ee282a2e75d84d133b.tar.bz2
PokeBot-bedf64dee93049940b7a35ee282a2e75d84d133b.zip
added pokeworld exclusive commands kekek
Diffstat (limited to 'commands/Pokemon/tradegym.js')
-rw-r--r--commands/Pokemon/tradegym.js3
1 files changed, 2 insertions, 1 deletions
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';