meow???
This commit is contained in:
parent
34bf6cb42b
commit
c3fa8d3b1f
@ -93,7 +93,7 @@ router.patch(
|
|||||||
}
|
}
|
||||||
} else rights.hasThrow("SELF_EDIT_MESSAGES");
|
} 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({
|
const new_message = await handleMessage({
|
||||||
...message,
|
...message,
|
||||||
// TODO: should message_reference be overridable?
|
// TODO: should message_reference be overridable?
|
||||||
|
|||||||
@ -494,7 +494,7 @@ interface MessageOptions extends MessageCreateSchema {
|
|||||||
embeds?: Embed[];
|
embeds?: Embed[];
|
||||||
reactions?: Reaction[];
|
reactions?: Reaction[];
|
||||||
channel_id?: string;
|
channel_id?: string;
|
||||||
attachments?: Attachment[];
|
// attachments?: Attachment[]; // why are we masking this?
|
||||||
edited_timestamp?: Date;
|
edited_timestamp?: Date;
|
||||||
timestamp?: Date;
|
timestamp?: Date;
|
||||||
username?: string;
|
username?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user