diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-26 22:21:59 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-26 22:21:59 -0400 |
| commit | f35bfc21a70cb8936e1d29952ec4d83dfff9efe5 (patch) | |
| tree | 53b24a780c0b1690ff6ad7c91a0b2b0396bf04cc | |
| parent | 2377206728fc285b1a0867ef5e7081c365e8f450 (diff) | |
| download | PokeBot-f35bfc21a70cb8936e1d29952ec4d83dfff9efe5.tar.gz PokeBot-f35bfc21a70cb8936e1d29952ec4d83dfff9efe5.tar.bz2 PokeBot-f35bfc21a70cb8936e1d29952ec4d83dfff9efe5.zip | |
things
| -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 94e0064..316ac24 100644 --- a/commands/Pokemon/claim.js +++ b/commands/Pokemon/claim.js @@ -38,6 +38,7 @@ exports.run = async (bot, msg) => { if (!team) return msg.reply('You have to join a team before you can claim a 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.'); + if (owner == '281713017920684032') return msg.reply('He\'s on hold, unfair team'); msg.channel.send('<@' + owner + '>, come here as ' + msg.member.displayName + ' wants to battle you.'); const func = async mess => { if (mess.channel != msg.channel) return; |
