aboutsummaryrefslogtreecommitdiff
path: root/commands/Pokemon/claim.js
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-02-28 16:36:55 -0500
committerUnknown <jtsshieh@outlook.com>2018-02-28 16:36:55 -0500
commit0a69420c01e11e44de325db98dd856f221841ed3 (patch)
tree21d0bb5c0da84f77dbcfe8eeeb670e3c1f05b6c4 /commands/Pokemon/claim.js
parentc1054ad794fcd64199eefe371e9d7f328323d5d2 (diff)
downloadPokeBot-0a69420c01e11e44de325db98dd856f221841ed3.tar.gz
PokeBot-0a69420c01e11e44de325db98dd856f221841ed3.tar.bz2
PokeBot-0a69420c01e11e44de325db98dd856f221841ed3.zip
Semi Colon
Diffstat (limited to 'commands/Pokemon/claim.js')
-rw-r--r--commands/Pokemon/claim.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Pokemon/claim.js b/commands/Pokemon/claim.js
index e7b687c..b3490c8 100644
--- a/commands/Pokemon/claim.js
+++ b/commands/Pokemon/claim.js
@@ -35,7 +35,7 @@ exports.run = async (bot, msg) => {
if (msg.member.roles.find('name', 'Rocket')) team = 'Rocket';
if (msg.member.roles.find('name', 'Magma')) team = 'Magma';
if (!team) return msg.reply('You have to join a team before you can claim a gym.');
- if (msg.channel.name == 'gym-chara') return msg.reply('You can\'t battle in this gym')
+ if (msg.channel.name == 'gym-chara') return msg.reply('You can\'t battle in this gym');
const owner = msg.channel.topic.slice(15).substring(0, 18);
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.');
msg.channel.send('<@' + owner + '>, come here as ' + msg.member.displayName + ' wants to battle you.');