This commit is contained in:
Rory& 2025-09-23 23:58:21 +02:00
parent 34bf6cb42b
commit c3fa8d3b1f
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ router.patch(
}
} else rights.hasThrow("SELF_EDIT_MESSAGES");
// @ts-expect-error Something is wrong with message_reference here, TS complains since "channel_id" is optional in MessageCreateSchema
// //@ts-expect-error Something is wrong with message_reference here, TS complains since "channel_id" is optional in MessageCreateSchema
const new_message = await handleMessage({
...message,
// TODO: should message_reference be overridable?

View File

@ -494,7 +494,7 @@ interface MessageOptions extends MessageCreateSchema {
embeds?: Embed[];
reactions?: Reaction[];
channel_id?: string;
attachments?: Attachment[];
// attachments?: Attachment[]; // why are we masking this?
edited_timestamp?: Date;
timestamp?: Date;
username?: string;