From 2784196f2d48c51d79b69f77bd3280b2a9ef0dc7 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 27 Mar 2018 20:12:02 -0400 Subject: last minute fixe --- commands/Pokemon/claim.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/Pokemon/claim.js b/commands/Pokemon/claim.js index 38320bc..c91b20e 100644 --- a/commands/Pokemon/claim.js +++ b/commands/Pokemon/claim.js @@ -52,6 +52,7 @@ exports.run = async (bot, msg) => { if (user != undefined) { if (user.id == owner) { await msg.channel.send('The owner has not been defeated!'); + bot.gyms.set(msg.channel.id, null); bot.removeListener('message', func); } if (user.id == msg.author.id) { -- cgit v1.2.3