mentions as an id to preserve cache

This commit is contained in:
Skillz
2020-09-22 19:08:09 -04:00
parent 698c5ae066
commit 2eab6d6789
+1
View File
@@ -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 || [],