diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-02-24 21:30:55 -0500 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-02-24 21:30:55 -0500 |
| commit | 1e46326ed2dd69b2df19c4ff7a83b329ad1d8187 (patch) | |
| tree | e8287b2300c5a1fd5718911a17ac8023d3dd68a0 | |
| parent | c25a35d5a18575b2e0ddd2cc189351492ca8d0cc (diff) | |
| download | PokeBot-1e46326ed2dd69b2df19c4ff7a83b329ad1d8187.tar.gz PokeBot-1e46326ed2dd69b2df19c4ff7a83b329ad1d8187.tar.bz2 PokeBot-1e46326ed2dd69b2df19c4ff7a83b329ad1d8187.zip | |
more fix
| -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.'); } }; |
