mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 15:13:05 +00:00
fix: interaction callback
This commit is contained in:
1 parent
d0ae4d06bc
commit
bbd0617d53
8 files changed
+98
-22
No files matched your search
@@ -21,6 +21,7 @@ import { InteractionType, Snowflake } from "@spacebar/util";
|
||||
|
||||
interface PendingInteraction {
|
||||
timeout: NodeJS.Timeout;
|
||||
applicationId: string;
|
||||
userId: string;
|
||||
channelId?: string;
|
||||
guildId?: string;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user