aboutsummaryrefslogtreecommitdiff
path: root/commands/Pokemon/claim.js
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-03-10 16:36:46 -0500
committerUnknown <jtsshieh@outlook.com>2018-03-10 16:36:46 -0500
commitc76a7c72a2464fb1dd8c79dcde0ade0372c70ed8 (patch)
tree493485ba2a1a1b1f5401fe48945ae4c8d98a4a16 /commands/Pokemon/claim.js
parentd9eaf7d0c41e6d8b39e9764bc542c1e76054a10a (diff)
downloadPokeBot-c76a7c72a2464fb1dd8c79dcde0ade0372c70ed8.tar.gz
PokeBot-c76a7c72a2464fb1dd8c79dcde0ade0372c70ed8.tar.bz2
PokeBot-c76a7c72a2464fb1dd8c79dcde0ade0372c70ed8.zip
trying this please work
Diffstat (limited to 'commands/Pokemon/claim.js')
-rw-r--r--commands/Pokemon/claim.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Pokemon/claim.js b/commands/Pokemon/claim.js
index de7e355..7041c77 100644
--- a/commands/Pokemon/claim.js
+++ b/commands/Pokemon/claim.js
@@ -58,6 +58,7 @@ exports.run = async (bot, msg) => {
if (msg.member.roles.find('name', 'Rocket')) recipientTeam = 'Rocket';
if (msg.member.roles.find('name', 'Magma')) recipientTeam = 'Magma';
msg.channel.setTopic('Current Owner: ' + msg.member.id + '/' + msg.author.tag + '/' + recipientTeam);
+ bot.removeListener('message', this);
}
}
}