From 5d778acf2066546de30f53d4d10c92a043a44a3a Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 27 Oct 2019 00:57:25 -0400 Subject: Pokestore...? --- commands/Pokemon/lsitem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands') diff --git a/commands/Pokemon/lsitem.js b/commands/Pokemon/lsitem.js index 6956ef2..fbdc4a0 100644 --- a/commands/Pokemon/lsitem.js +++ b/commands/Pokemon/lsitem.js @@ -12,12 +12,12 @@ exports.run = async (bot, msg, args) => { const { RichEmbed } = require('discord.js'); const data = args.join(' ').split('|'); - const msgs = await bot.channels.find('id', '428738848420397057').fetchMessages({ limit: 10 }); + const msgs = await bot.channels.find('id', '637877120185532416').fetchMessages({ limit: 10 }); const mess = msgs.first(); if (!mess.embeds) return; const id = parseInt(mess.embeds[0].author.name.split(':')[1]) + 1; - bot.channels.find('id', '428738848420397057').send( + bot.channels.find('id', '637877120185532416').send( new RichEmbed() .setTitle('A new pokemon is up for sale!') .setAuthor('ID: ' + id) -- cgit v1.2.3