diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-02 16:11:13 -0500 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-02 16:11:13 -0500 |
| commit | 77ceb3c6853e8c2b7ff0121bdcc17bf2148783d0 (patch) | |
| tree | 604425c5c41b3865193d08c1ccc4f86e1383dd33 /commands/Pokemon/tradegym.js | |
| parent | 9f5472b803da3234d339496378fba1491bf1ed8a (diff) | |
| download | PokeBot-77ceb3c6853e8c2b7ff0121bdcc17bf2148783d0.tar.gz PokeBot-77ceb3c6853e8c2b7ff0121bdcc17bf2148783d0.tar.bz2 PokeBot-77ceb3c6853e8c2b7ff0121bdcc17bf2148783d0.zip | |
eslint
Diffstat (limited to 'commands/Pokemon/tradegym.js')
| -rw-r--r-- | commands/Pokemon/tradegym.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Pokemon/tradegym.js b/commands/Pokemon/tradegym.js index 08f753c..3d775ca 100644 --- a/commands/Pokemon/tradegym.js +++ b/commands/Pokemon/tradegym.js @@ -20,7 +20,7 @@ exports.run = async (bot, msg) => { if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!'); - + if (!msg.channel.name.startsWith('gym-')) return msg.reply('Go into one of the gym channels and try again.'); let team; if (msg.member.roles.find('name', 'Aqua')) team = 'Aqua'; |
