diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-27 20:12:02 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-27 20:12:02 -0400 |
| commit | 2784196f2d48c51d79b69f77bd3280b2a9ef0dc7 (patch) | |
| tree | b5fed9d6da9cd4ff66cfd05afac5f96cef2a01c2 /commands | |
| parent | 7750e68185e5a1c888dda22986dc7592fe9b4af1 (diff) | |
| download | PokeBot-2784196f2d48c51d79b69f77bd3280b2a9ef0dc7.tar.gz PokeBot-2784196f2d48c51d79b69f77bd3280b2a9ef0dc7.tar.bz2 PokeBot-2784196f2d48c51d79b69f77bd3280b2a9ef0dc7.zip | |
last minute fixe
Diffstat (limited to 'commands')
| -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) { |
