From c76a7c72a2464fb1dd8c79dcde0ade0372c70ed8 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 10 Mar 2018 16:36:46 -0500 Subject: trying this please work --- commands/Pokemon/claim.js | 1 + 1 file changed, 1 insertion(+) (limited to 'commands') 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); } } } -- cgit v1.2.3