From 33f842088b640daadbfa06d9e93a3d2cd7a9c1cd Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Sat, 13 Jan 2024 23:17:21 +0500 Subject: [PATCH] fix some quoting issues --- events/MessageHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/MessageHandler.js b/events/MessageHandler.js index 1f6c3f82..6b81931b 100644 --- a/events/MessageHandler.js +++ b/events/MessageHandler.js @@ -45,7 +45,7 @@ class MessageCreate extends BaseEvent { channelId = ids[1], messageId = ids[2]; - const msg = await client.channels.cache.get(channelId).messages.fetch(messageId); + const msg = await message.guild.channels.cache.get(channelId).messages.fetch(messageId); const embed = new EmbedBuilder() .setAuthor({ name: message.translate("misc:QUOTE_TITLE", {