mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-31 16:00:07 +00:00
fix message.mentions
This commit is contained in:
@@ -28,7 +28,7 @@ export function createMessage(data: MessageCreateOptions) {
|
||||
member: () => message.guild()?.members.get(data.author.id)!,
|
||||
mentions: () =>
|
||||
data.mentions.map((mention) =>
|
||||
message.guild()?.members.get(mention.id) || mention
|
||||
message.guild()?.members.get(mention.id)!
|
||||
),
|
||||
|
||||
/** Delete a message */
|
||||
|
||||
Reference in New Issue
Block a user