aboutsummaryrefslogtreecommitdiff
path: root/commands/Pokemon/join.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/join.js
parentc1054ad794fcd64199eefe371e9d7f328323d5d2 (diff)
downloadPokeBot-bedf64dee93049940b7a35ee282a2e75d84d133b.tar.gz
PokeBot-bedf64dee93049940b7a35ee282a2e75d84d133b.tar.bz2
PokeBot-bedf64dee93049940b7a35ee282a2e75d84d133b.zip
added pokeworld exclusive commands kekek
Diffstat (limited to 'commands/Pokemon/join.js')
-rw-r--r--commands/Pokemon/join.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/Pokemon/join.js b/commands/Pokemon/join.js
index 01af694..2eaa1bd 100644
--- a/commands/Pokemon/join.js
+++ b/commands/Pokemon/join.js
@@ -19,6 +19,8 @@
* *************************************/
exports.run = async (bot, msg, args) => {
+ if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!');
+
if (args.length < 1) return msg.reply('Please choose a team to join');
const team = findTeam(msg, args[0]);