summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorCyberL1 <cyber.hf18@gmail.com>2025-10-19 16:31:35 +0200
committerRory& <root@rory.gay>2025-10-19 20:15:47 +0200
commitbbd0617d53b262ccb642b9fff6d0eb9ea0c9936e (patch)
tree88ec7ee7196166f443d1b9fadaf4a27196a64b22 /src/util
parentMake reconicle migration not suck (diff)
downloadserver-ts-bbd0617d53b262ccb642b9fff6d0eb9ea0c9936e.tar.xz
fix: interaction callback
Diffstat (limited to 'src/util')
-rw-r--r--src/util/imports/Interactions.ts1
-rw-r--r--src/util/interfaces/Interaction.ts4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/util/imports/Interactions.ts b/src/util/imports/Interactions.ts

index dd3ca515..49ec4933 100644 --- a/src/util/imports/Interactions.ts +++ b/src/util/imports/Interactions.ts
@@ -21,6 +21,7 @@ import { InteractionType, Snowflake } from "@spacebar/util"; interface PendingInteraction { timeout: NodeJS.Timeout; + applicationId: string; userId: string; channelId?: string; guildId?: string; diff --git a/src/util/interfaces/Interaction.ts b/src/util/interfaces/Interaction.ts
index 29fc931d..09068df8 100644 --- a/src/util/interfaces/Interaction.ts +++ b/src/util/interfaces/Interaction.ts
@@ -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 {