summary refs log tree commit diff
path: root/src/api/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/util')
-rw-r--r--src/api/util/handlers/Message.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/util/handlers/Message.ts b/src/api/util/handlers/Message.ts

index 90df9a78..16730557 100644 --- a/src/api/util/handlers/Message.ts +++ b/src/api/util/handlers/Message.ts
@@ -227,6 +227,7 @@ export async function handleMessage(opts: MessageOptions): Promise<Message> { where: { id: opts.message_reference.message_id, }, + relations: ["author", "mentions", "mention_roles", "mention_channels"], }); if (message.referenced_message.channel_id !== opts.message_reference.channel_id) throw new HTTPError("Referenced message not found in the specified channel", 404);