diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-10 16:36:46 -0500 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-10 16:36:46 -0500 |
| commit | c76a7c72a2464fb1dd8c79dcde0ade0372c70ed8 (patch) | |
| tree | 493485ba2a1a1b1f5401fe48945ae4c8d98a4a16 /commands/Pokemon/claim.js | |
| parent | d9eaf7d0c41e6d8b39e9764bc542c1e76054a10a (diff) | |
| download | PokeBot-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.js | 1 |
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); } } } |
