Skip to content

Commit

Permalink
fix(APIInteractionResponse): add APIModalInteractionResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu committed Feb 15, 2022
1 parent c1048d8 commit 250af90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion deno/payloads/v10/_interactions/responses.ts
Original file line number Diff line number Diff line change
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/v10/_interactions/responses.ts
Original file line number Diff line number Diff line change
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 250af90

Please sign in to comment.