feat: Emit reaction type on gateway events

#10598 djs
This commit is contained in:
Elysia
2025-01-21 01:29:18 +07:00
parent 002b1d8fc0
commit 599e53abe6
7 changed files with 25 additions and 18 deletions

4
typings/index.d.ts vendored
View File

@@ -60,7 +60,8 @@ import {
GuildScheduledEventRecurrenceRuleWeekday,
GuildScheduledEventRecurrenceRuleMonth,
GuildScheduledEventRecurrenceRuleFrequency,
APIChatInputApplicationCommandInteractionData, APIContextMenuInteractionData
APIChatInputApplicationCommandInteractionData, APIContextMenuInteractionData,
ReactionType
} from 'discord-api-types/v10';
import { ChildProcess, ChildProcessWithoutNullStreams } from 'node:child_process';
import { EventEmitter } from 'node:events';
@@ -2553,6 +2554,7 @@ export interface ReactionCountDetailsData {
normal: number;
}
export interface MessageReactionEventDetails {
type: ReactionType;
burst: boolean;
}