1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/entities/Message.ts b/src/util/entities/Message.ts
index 23e699b5..7c5d6b6d 100644
--- a/src/util/entities/Message.ts
+++ b/src/util/entities/Message.ts
@@ -284,7 +284,7 @@ export class Message extends BaseClass {
mention_roles: this.mention_roles?.map((role) => role.id) ?? [],
mention_channels: this.mention_channels?.map((ch) => ch.toJSON()) ?? [],
- attachments: this.attachments ?? [],
+ attachments: this.attachments?.map((att) => att.toJSON()) ?? [],
nonce: this.nonce ?? undefined,
tts: this.tts ?? false,
|