diff options
Diffstat (limited to 'commands/Pokemon/drop.js')
| -rw-r--r-- | commands/Pokemon/drop.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Pokemon/drop.js b/commands/Pokemon/drop.js index 25266f4..afe76df 100644 --- a/commands/Pokemon/drop.js +++ b/commands/Pokemon/drop.js @@ -1,5 +1,5 @@ exports.run = async (bot, msg) => { - if (!msg.channel.topic.startsWith('Current Owner:')) return msg.reply('Go into one of the gym channels and try again.'); + if (!msg.channel.name.startsWith('gym-')) return msg.reply('Go into one of the gym channels and try again.'); if (msg.channel.topic == 'Current Owner: *none*') { msg.reply('There is no owner for this gym. Claim it now with p:claim!'); } |
