hopefully fix this bug

This commit is contained in:
MathMan05
2026-02-13 01:14:23 +01:00
committed by Rory&
parent eafd8a76e8
commit 67420924bd
+1 -1
View File
@@ -243,7 +243,7 @@ export class Message extends BaseClass {
member_id: undefined,
webhook_id: this.webhook_id ?? undefined,
application_id: undefined,
mentions: this.mentions.map((user) => user.toPublicUser() ?? undefined),
mentions: this.mentions.map((user) => user?.toPublicUser() ?? undefined),
nonce: this.nonce ?? undefined,
tts: this.tts ?? false,