mirror of
https://github.com/jaronpate/unicord.git
synced 2026-10-18 21:47:40 +00:00
feat: Add DefaultReaction type to message types
This commit is contained in:
@@ -34,6 +34,11 @@ export type Component = Partial<Button | SelectMenu> & {
|
|||||||
// components?: Component[];
|
// components?: Component[];
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
export type DefaultReaction = {
|
||||||
|
emoji_id?: string | null; // the id of a guild's custom emoji
|
||||||
|
emoji_name?: string | null; // the unicode character of the emoji
|
||||||
|
};
|
||||||
|
|
||||||
export type Emoji = {
|
export type Emoji = {
|
||||||
name: string | null;
|
name: string | null;
|
||||||
id: string | null;
|
id: string | null;
|
||||||
@@ -274,4 +279,4 @@ export type DiscordMessage = {
|
|||||||
preview_asset?: string;
|
preview_asset?: string;
|
||||||
format_type: number;
|
format_type: number;
|
||||||
}[];
|
}[];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user