This commit is contained in:
Trey 2018-03-28 22:06:35 -04:00 committed by GitHub
parent b3690be467
commit ee6acf5c93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)