Optional
autocompleteOptional
choisesThe choices for the option. This should be an array of objects with a name and value. The name is what the user sees, and the value is what is sent to the server.
The description of the option. This should be a string that describes what the option does.
Optional
description_The localizations for the command description. This should be an object where the keys are locale codes and the values are the localized descriptions.
Optional
max_The maximum value of the integer or number. If not specified, there is no maximum value.
Optional
min_The minimum value of the integer or number. If not specified, there is no minimum value.
The name of the command, subcommand, subcommand group, option. This should be a lowercase string with no spaces. It can only contain alphanumeric characters, underscores, and dashes.
Optional
name_The localizations for the command name. This should be an object where the keys are locale codes and the values are the localized names.
Optional
requiredWhether the option is required. If true, the user must provide a value for this option. If false, the user can skip this option.
The type of the option. This should be one of the following:
Whether the option supports autocomplete. If true, the user can type in the option and get suggestions. If false, the user must provide a value for this option.