fix: interaction callback

This commit is contained in:
CyberL1 authored and Rory& committed 2025-10-19 20:15:47 +02:00
1 parent d0ae4d06bc
commit bbd0617d53
8 files changed
+98 -22

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ import { InteractionType, Snowflake } from "@spacebar/util";
interface PendingInteraction {
timeout: NodeJS.Timeout;
applicationId: string;
userId: string;
channelId?: string;
guildId?: string;
+3 -1
View File
@@ -30,9 +30,11 @@ export interface Interaction {
}
export enum InteractionType {
SelfCommand = 0,
Ping = 1,
ApplicationCommand = 2,
MessageComponent = 3,
ApplicationCommandAutocomplete = 4,
ModalSubmit = 5,
}
export enum InteractionResponseType {