Skip to content

Commit

Permalink
fix(APIApplicationCommandAutocompleteInteraction): make options fie…
Browse files Browse the repository at this point in the history
…ld required for v10 (PR #332 redo) (#339)
  • Loading branch information
andre4ik3 committed Feb 18, 2022
1 parent 343359e commit 8d432f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion deno/payloads/v10/_interactions/autocomplete.ts
Expand Up @@ -12,7 +12,10 @@ export type APIApplicationCommandAutocompleteInteraction = APIBaseInteraction<
> &
Required<
Pick<
APIBaseInteraction<InteractionType.ApplicationCommandAutocomplete, APIChatInputApplicationCommandInteractionData>,
APIBaseInteraction<
InteractionType.ApplicationCommandAutocomplete,
Required<Pick<APIChatInputApplicationCommandInteractionData, 'options'>>
>,
'data'
>
>;
Expand Down
5 changes: 4 additions & 1 deletion payloads/v10/_interactions/autocomplete.ts
Expand Up @@ -12,7 +12,10 @@ export type APIApplicationCommandAutocompleteInteraction = APIBaseInteraction<
> &
Required<
Pick<
APIBaseInteraction<InteractionType.ApplicationCommandAutocomplete, APIChatInputApplicationCommandInteractionData>,
APIBaseInteraction<
InteractionType.ApplicationCommandAutocomplete,
Required<Pick<APIChatInputApplicationCommandInteractionData, 'options'>>
>,
'data'
>
>;
Expand Down

0 comments on commit 8d432f2

Please sign in to comment.