diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-04-05 20:32:27 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-04-05 20:32:27 -0400 |
| commit | a7efea09713e1c545412b56538dfe1511ab9afee (patch) | |
| tree | 2046bf609a9bd33eb544e99408e30a2a95e06696 /commands/Pokemon | |
| parent | addf70683d681cd357133f93218b7a9b7a99fbe3 (diff) | |
| download | PokeBot-a7efea09713e1c545412b56538dfe1511ab9afee.tar.gz PokeBot-a7efea09713e1c545412b56538dfe1511ab9afee.tar.bz2 PokeBot-a7efea09713e1c545412b56538dfe1511ab9afee.zip | |
typo
Diffstat (limited to 'commands/Pokemon')
| -rw-r--r-- | commands/Pokemon/claim.js | 2 |
1 files changed, 1 insertions, 1 deletions
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.'); |
