fix it the other way arround

This commit is contained in:
MathMan05
2026-02-12 19:17:07 -06:00
committed by Rory&
parent 85afd0923c
commit e15383aed3

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) => {
mentions: this.mentions.map((user) => {
if (user && !user.toPublicUser) console.trace("toPublic user missing!!!");
return user?.toPublicUser?.() ?? user ?? undefined;
}),