oops, fix the call

This commit is contained in:
MathMan05
2026-02-12 18:07:46 -06:00
committed by Rory&
parent d5b1309b5c
commit 90c15f4dde

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() ?? user ?? undefined),
mentions: this.mentions.map((user) => user?.toPublicUser?.() ?? user ?? undefined),
nonce: this.nonce ?? undefined,
tts: this.tts ?? false,