Drop a bunch of random overrides

This commit is contained in:
Rory&
2026-07-15 12:03:47 +02:00
parent 86ab110abd
commit 188a3dc2b8
2 changed files with 2 additions and 22 deletions
+1 -1
View File
@@ -349,7 +349,7 @@ export class Message extends BaseClass {
message_reference: this.message_reference ?? undefined,
mention_everyone: this.mention_everyone ?? false,
author: {
...(this.author?.toPublicUser() ?? undefined),
...(this.author?.toPartialUser() ?? undefined),
// Webhooks
username: this.username ?? this.author?.username ?? null,
avatar: this.avatar ?? this.author?.avatar ?? null,