From ffbfc7f3e6ffe132331eff8b5c5d4f154fb75d1d Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 28 Mar 2018 22:22:03 -0400 Subject: stupid me --- commands/Pokemon/lsitem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/Pokemon/lsitem.js') diff --git a/commands/Pokemon/lsitem.js b/commands/Pokemon/lsitem.js index aa66b1b..515eb46 100644 --- a/commands/Pokemon/lsitem.js +++ b/commands/Pokemon/lsitem.js @@ -23,7 +23,7 @@ exports.run = async (bot, msg, args) => { const { RichEmbed } = require('discord.js'); const data = args.join(' ').split('|'); - const msgs = await msg.channel.fetchMessages({ limit: 10 }); + 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]); -- cgit v1.2.3