aboutsummaryrefslogtreecommitdiff
path: root/commands/Pokemon/tradegym.js
diff options
context:
space:
mode:
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';