diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-28 22:23:06 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-28 22:23:06 -0400 |
| commit | 47aa7c5ddfaf893d5b7cf0bfe3d76480e44c4cc9 (patch) | |
| tree | fd7152def8c8f8e18988cf0921e5c753d143cb5b /commands | |
| parent | ffbfc7f3e6ffe132331eff8b5c5d4f154fb75d1d (diff) | |
| download | PokeBot-47aa7c5ddfaf893d5b7cf0bfe3d76480e44c4cc9.tar.gz PokeBot-47aa7c5ddfaf893d5b7cf0bfe3d76480e44c4cc9.tar.bz2 PokeBot-47aa7c5ddfaf893d5b7cf0bfe3d76480e44c4cc9.zip | |
again, stupid
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/Pokemon/lsitem.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Pokemon/lsitem.js b/commands/Pokemon/lsitem.js index 515eb46..a072ad8 100644 --- a/commands/Pokemon/lsitem.js +++ b/commands/Pokemon/lsitem.js @@ -26,7 +26,7 @@ exports.run = async (bot, msg, args) => { const msgs = await bot.channels.find('id', '428738848420397057').fetchMessages({ limit: 10 }); const mess = msgs.first(); if (!mess.embeds) return; - const id = parseInt(mess.embeds[0].author.name.split(':')[0]); + const id = parseInt(mess.embeds[0].author.name.split(':')[1]); bot.channels.find('id', '428738848420397057').send( new RichEmbed() |
