mirror of
https://github.com/spacebarchat/server.git
synced 2026-07-21 11:10:59 +00:00
meow???
This commit is contained in:
@@ -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?
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user