meow???
This commit is contained in:
parent
34bf6cb42b
commit
c3fa8d3b1f
@ -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