Skip to content

Commit

Permalink
fix: allow sending empty choices with autocomplete: true (#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx committed May 4, 2023
1 parent 21d1be9 commit 0e6b19d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Expand Up @@ -22,6 +22,7 @@ export type APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<
> =
| (Base & {
autocomplete: true;
choices?: [];
})
| (Base & {
autocomplete?: false;
Expand Down
Expand Up @@ -22,6 +22,7 @@ export type APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<
> =
| (Base & {
autocomplete: true;
choices?: [];
})
| (Base & {
autocomplete?: false;
Expand Down
Expand Up @@ -22,6 +22,7 @@ export type APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<
> =
| (Base & {
autocomplete: true;
choices?: [];
})
| (Base & {
autocomplete?: false;
Expand Down
Expand Up @@ -22,6 +22,7 @@ export type APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<
> =
| (Base & {
autocomplete: true;
choices?: [];
})
| (Base & {
autocomplete?: false;
Expand Down

1 comment on commit 0e6b19d

@vercel
Copy link

@vercel vercel bot commented on 0e6b19d May 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.