Skip to content

Commit

Permalink
fix(APIInteractionResponse): add APIModalInteractionResponse to uni…
Browse files Browse the repository at this point in the history
…on (#333)
  • Loading branch information
advaith1 committed Feb 15, 2022
1 parent 8ce0a23 commit a8f19e6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion deno/payloads/v8/_interactions/responses.ts
Expand Up @@ -23,7 +23,8 @@ export type APIInteractionResponse =
| APIInteractionResponseDeferredChannelMessageWithSource
| APIInteractionResponseDeferredMessageUpdate
| APIInteractionResponseUpdateMessage
| APIApplicationCommandAutocompleteResponse;
| APIApplicationCommandAutocompleteResponse
| APIModalInteractionResponse;

export interface APIInteractionResponsePong {
type: InteractionResponseType.Pong;
Expand Down
3 changes: 2 additions & 1 deletion deno/payloads/v9/_interactions/responses.ts
Expand Up @@ -23,7 +23,8 @@ export type APIInteractionResponse =
| APIInteractionResponseDeferredChannelMessageWithSource
| APIInteractionResponseDeferredMessageUpdate
| APIInteractionResponseUpdateMessage
| APIApplicationCommandAutocompleteResponse;
| APIApplicationCommandAutocompleteResponse
| APIModalInteractionResponse;

export interface APIInteractionResponsePong {
type: InteractionResponseType.Pong;
Expand Down
3 changes: 2 additions & 1 deletion payloads/v8/_interactions/responses.ts
Expand Up @@ -23,7 +23,8 @@ export type APIInteractionResponse =
| APIInteractionResponseDeferredChannelMessageWithSource
| APIInteractionResponseDeferredMessageUpdate
| APIInteractionResponseUpdateMessage
| APIApplicationCommandAutocompleteResponse;
| APIApplicationCommandAutocompleteResponse
| APIModalInteractionResponse;

export interface APIInteractionResponsePong {
type: InteractionResponseType.Pong;
Expand Down
3 changes: 2 additions & 1 deletion payloads/v9/_interactions/responses.ts
Expand Up @@ -23,7 +23,8 @@ export type APIInteractionResponse =
| APIInteractionResponseDeferredChannelMessageWithSource
| APIInteractionResponseDeferredMessageUpdate
| APIInteractionResponseUpdateMessage
| APIApplicationCommandAutocompleteResponse;
| APIApplicationCommandAutocompleteResponse
| APIModalInteractionResponse;

export interface APIInteractionResponsePong {
type: InteractionResponseType.Pong;
Expand Down

0 comments on commit a8f19e6

Please sign in to comment.