diff --git a/deno/v8/payloads/interactions.ts b/deno/v8/payloads/interactions.ts index 822c44a9..40c28bdc 100644 --- a/deno/v8/payloads/interactions.ts +++ b/deno/v8/payloads/interactions.ts @@ -182,26 +182,11 @@ export interface APIApplicationCommandInteractionDataOption { */ export type APIInteractionResponse = | APIInteractionResponsePong - | APIInteractionResponseAcknowledge - | APIInteractionResponseChannelMessage | APIInteractionResponseChannelMessageWithSource | APIInteractionResponseDeferredChannelMessageWithSource; export type APIInteractionResponsePong = InteractionResponsePayload; -/** - * @deprecated Use `APIInteractionResponseDeferredChannelMessageWithSource` instead; will be removed on April 9, 2021 - */ -export type APIInteractionResponseAcknowledge = InteractionResponsePayload; - -/** - * @deprecated Use `APIInteractionResponseChannelMessageWithSource` instead; will be removed on April 9, 2021 - */ -export type APIInteractionResponseChannelMessage = InteractionResponsePayload< - APIInteractionResponseType.ChannelMessage, - true ->; - export type APIInteractionResponseChannelMessageWithSource = InteractionResponsePayload< APIInteractionResponseType.ChannelMessageWithSource, true @@ -217,20 +202,10 @@ export enum APIInteractionResponseType { * ACK a `Ping` */ Pong = 1, - /** - * ACK a command without sending a message, eating the user's input - * @deprecated Use `DeferredChannelMessageWithSource` instead; will be removed on April 9, 2021 - */ - Acknowledge, - /** - * Respond with a message, eating the user's input - * @deprecated Use `ChannelMessageWithSource` instead; will be removed on April 9, 2021 - */ - ChannelMessage, /** * Respond to an interaction with a message */ - ChannelMessageWithSource, + ChannelMessageWithSource = 4, /** * ACK an interaction and edit to a response later, the user sees a loading state */ diff --git a/v8/payloads/interactions.ts b/v8/payloads/interactions.ts index 7ba79fd6..8be84281 100644 --- a/v8/payloads/interactions.ts +++ b/v8/payloads/interactions.ts @@ -182,26 +182,11 @@ export interface APIApplicationCommandInteractionDataOption { */ export type APIInteractionResponse = | APIInteractionResponsePong - | APIInteractionResponseAcknowledge - | APIInteractionResponseChannelMessage | APIInteractionResponseChannelMessageWithSource | APIInteractionResponseDeferredChannelMessageWithSource; export type APIInteractionResponsePong = InteractionResponsePayload; -/** - * @deprecated Use `APIInteractionResponseDeferredChannelMessageWithSource` instead; will be removed on April 9, 2021 - */ -export type APIInteractionResponseAcknowledge = InteractionResponsePayload; - -/** - * @deprecated Use `APIInteractionResponseChannelMessageWithSource` instead; will be removed on April 9, 2021 - */ -export type APIInteractionResponseChannelMessage = InteractionResponsePayload< - APIInteractionResponseType.ChannelMessage, - true ->; - export type APIInteractionResponseChannelMessageWithSource = InteractionResponsePayload< APIInteractionResponseType.ChannelMessageWithSource, true @@ -217,20 +202,10 @@ export const enum APIInteractionResponseType { * ACK a `Ping` */ Pong = 1, - /** - * ACK a command without sending a message, eating the user's input - * @deprecated Use `DeferredChannelMessageWithSource` instead; will be removed on April 9, 2021 - */ - Acknowledge, - /** - * Respond with a message, eating the user's input - * @deprecated Use `ChannelMessageWithSource` instead; will be removed on April 9, 2021 - */ - ChannelMessage, /** * Respond to an interaction with a message */ - ChannelMessageWithSource, + ChannelMessageWithSource = 4, /** * ACK an interaction and edit to a response later, the user sees a loading state */