From a7efea09713e1c545412b56538dfe1511ab9afee Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 5 Apr 2018 20:32:27 -0400 Subject: typo --- commands/Pokemon/claim.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands') diff --git a/commands/Pokemon/claim.js b/commands/Pokemon/claim.js index f3d836e..c468025 100644 --- a/commands/Pokemon/claim.js +++ b/commands/Pokemon/claim.js @@ -23,7 +23,7 @@ exports.run = async (bot, msg) => { const team = bot.plugins.gyms.getTeam(msg.member); if (!team) return msg.reply('You have to join a team before you can claim a gym.'); - const owner = bot.plguins.gyms.getOwnerId(msg.channel.topic); + const owner = bot.plugins.gyms.getOwnerId(msg.channel.topic); if (msg.guild.members.find('id', owner).roles.find('name', team)) return msg.reply('Don\'t try battling your own team. They won\'t like you.'); if (bot.gyms.get(msg.channel.id) != null) return msg.reply('Nope, someone is already battling the gym.'); -- cgit v1.2.3