aboutsummaryrefslogtreecommitdiff
path: root/commands/Pokemon/leave.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Pokemon/leave.js')
-rw-r--r--commands/Pokemon/leave.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/Pokemon/leave.js b/commands/Pokemon/leave.js
index d2ca96c..11571c9 100644
--- a/commands/Pokemon/leave.js
+++ b/commands/Pokemon/leave.js
@@ -19,6 +19,8 @@
* *************************************/
exports.run = async (bot, msg) => {
+ if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!');
+
if (msg.member.roles.find('name', 'Aqua')) {
msg.member.removeRole(msg.guild.roles.find('name', 'Aqua'));
msg.reply('Alright, you are not longer in team Aqua.');