feat: Add DefaultReaction type to message types

This commit is contained in:
2025-02-15 11:33:51 -06:00
parent 6f385a68e7
commit 835271a4c7
+6 -1
View File
@@ -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;
}[]; }[];
} }