diff options
Diffstat (limited to 'commands/Pokemon/claim.js')
| -rw-r--r-- | commands/Pokemon/claim.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/Pokemon/claim.js b/commands/Pokemon/claim.js index c468025..e76c2a7 100644 --- a/commands/Pokemon/claim.js +++ b/commands/Pokemon/claim.js @@ -46,8 +46,7 @@ exports.run = async (bot, msg) => { } else if (user.id == msg.author.id) { await msg.channel.send('The owner has been defeated! Transferring gym!'); - bot.gyms.getTeam(mess.member); - await msg.channel.setTopic(bot.plugins.gyms.getGymString(bot, mess.member)); + await msg.channel.setTopic(bot.plugins.gyms.getGymString(bot, msg.member)); } else { return; } bot.gyms.set(msg.channel.id, null); |
