diff options
Diffstat (limited to 'commands')
| -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 3a45e36..aa891ef 100644 --- a/commands/Pokemon/claim.js +++ b/commands/Pokemon/claim.js @@ -5,7 +5,7 @@ exports.run = async (bot, msg) => { msg.channel.setTopic('Current Owner: ' + msg.author.tag + '/' + msg.author.id); } else { - const owner = msg.channel.topic.slice(15).substring(msg.author.tag.length + 1); + const owner = msg.channel.topic.slice(15).substring(msg.author.tag.length - 1); msg.channel.send('<@' + owner + '>, come here as ' + msg.member.displayName + ' wants to battle you.'); } }; |
