hopefully fix this bug

This commit is contained in:
MathMan05
2026-02-12 18:03:34 -06:00
committed by Rory&
parent eafd8a76e8
commit 67420924bd

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,