diff --git a/src/interactions/types/interactions.ts b/src/interactions/types/interactions.ts index 295015e34..e9d291a3c 100644 --- a/src/interactions/types/interactions.ts +++ b/src/interactions/types/interactions.ts @@ -66,12 +66,8 @@ export enum InteractionType { export enum InteractionResponseType { /** ACK a `Ping` */ PONG = 1, - /** ACK a command without sending a message, eating the user's input */ - ACKNOWLEDGE = 2, - /** respond with a message, eating the user's input */ - CHANNEL_MESSAGE = 3, - /** respond with a message, showing the user's input */ + /** Respond with a message, showing the user's input */ CHANNEL_MESSAGE_WITH_SOURCE = 4, - /** ACK a command without sending a message, showing the user's input */ - ACK_WITH_SOURCE = 5, + /** ACK an interaction and edit to a response later, the user sees a loading state */ + DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE, } diff --git a/src/types/webhook.ts b/src/types/webhook.ts index 77932cbea..21e6a99cb 100644 --- a/src/types/webhook.ts +++ b/src/types/webhook.ts @@ -198,14 +198,10 @@ export interface SlashCommandCallbackData { export enum InteractionResponseType { /** ACK a `Ping` */ PONG = 1, - /** ACK a command without sending a message, eating the user's input */ - ACKNOWLEDGE = 2, - /** respond with a message, eating the user's input */ - CHANNEL_MESSAGE = 3, - /** respond with a message, showing the user's input */ + /** Respond with a message, showing the user's input */ CHANNEL_MESSAGE_WITH_SOURCE = 4, - /** ACK a command without sending a message, showing the user's input */ - ACK_WITH_SOURCE = 5, + /** ACK an interaction and edit to a response later, the user sees a loading state */ + DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE, } // TODO: remove this interface for v11