From 2eab6d678956c2b39d472eb3e1034ce5698a4b6f Mon Sep 17 00:00:00 2001 From: Skillz Date: Tue, 22 Sep 2020 19:08:09 -0400 Subject: [PATCH] mentions as an id to preserve cache --- src/structures/message.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/structures/message.ts b/src/structures/message.ts index 4c97ed728..bd41e48ed 100644 --- a/src/structures/message.ts +++ b/src/structures/message.ts @@ -18,6 +18,7 @@ export async function createMessage(data: MessageCreateOptions) { ...rest, channelID, guildID: guildID || "", + mentions: data.mentions.map((m) => m.id), mentionsEveryone, mentionRoles, mentionChannels: mentionChannels || [],