diff options
| author | Trey <32907415+TheEdgeNK@users.noreply.github.com> | 2018-03-28 22:06:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-28 22:06:35 -0400 |
| commit | ee6acf5c93fab7784eeb832d960a1de14df10fbf (patch) | |
| tree | a8b07f0d932c49874147fd755f380824b12c092e /commands/Pokemon | |
| parent | b3690be467f151d774a53b95109e55bd03c32bab (diff) | |
| download | PokeBot-ee6acf5c93fab7784eeb832d960a1de14df10fbf.tar.gz PokeBot-ee6acf5c93fab7784eeb832d960a1de14df10fbf.tar.bz2 PokeBot-ee6acf5c93fab7784eeb832d960a1de14df10fbf.zip | |
dicksme
Diffstat (limited to 'commands/Pokemon')
| -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 f5fcdda..b7c3f27 100644 --- a/commands/Pokemon/lsitem.js +++ b/commands/Pokemon/lsitem.js @@ -27,7 +27,7 @@ exports.run = async (bot, msg, args) => { const mess = msgs.first(); if (!mess.embeds) return; const id = parseInt(mess.embeds[0].author.name.split(':')[0]); - msg.guild.channels.get('426906377001107477').send( + msg.guild.channels.get('id', '426906377001107477').send( new RichEmbed() .setTitle('A new pokemon is up for sale!') .setAuthor('ID: ' + id) |
