fix some quoting issues

This commit is contained in:
Jonny_Bro (Nikita) 2024-01-13 23:17:21 +05:00
parent e67ce7cd53
commit 33f842088b
No known key found for this signature in database
GPG key ID: 28B0D27F8DD5A4C9

View file

@ -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", {