aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-03-27 20:12:02 -0400
committerUnknown <jtsshieh@outlook.com>2018-03-27 20:12:02 -0400
commit2784196f2d48c51d79b69f77bd3280b2a9ef0dc7 (patch)
treeb5fed9d6da9cd4ff66cfd05afac5f96cef2a01c2
parent7750e68185e5a1c888dda22986dc7592fe9b4af1 (diff)
downloadPokeBot-2784196f2d48c51d79b69f77bd3280b2a9ef0dc7.tar.gz
PokeBot-2784196f2d48c51d79b69f77bd3280b2a9ef0dc7.tar.bz2
PokeBot-2784196f2d48c51d79b69f77bd3280b2a9ef0dc7.zip
last minute fixe
-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 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) {