From 60a424d83b06c2a7e6a41de5ec91dc4afca162ce Mon Sep 17 00:00:00 2001 From: ITOH Date: Thu, 30 Sep 2021 20:36:28 +0200 Subject: [PATCH] feat(types): add ApplicationCommandOption.autocomplete --- src/types/interactions/commands/application_command_option.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/interactions/commands/application_command_option.ts b/src/types/interactions/commands/application_command_option.ts index 2d5a3c90a..8de146b15 100644 --- a/src/types/interactions/commands/application_command_option.ts +++ b/src/types/interactions/commands/application_command_option.ts @@ -15,4 +15,6 @@ export interface ApplicationCommandOption { choices?: ApplicationCommandOptionChoice[]; /** If the option is a subcommand or subcommand group type, this nested options will be the parameters */ options?: ApplicationCommandOption[]; + /** Whether this option should make autocomplete interactions. */ + autocomplete?: boolean; }