diff options
| -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 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) { |
