Skip to main content

Variable: ApplicationCommandOptionLimits

const ApplicationCommandOptionLimits: object

Namespace containing limits related to Choices of Discord Application Commands.

Type declaration

MaximumChoicesLength

readonly MaximumChoicesLength: 25

Maximum length of choices allowed in the option of an application command.

MaximumDescriptionCharacters

readonly MaximumDescriptionCharacters: 100

Maximum characters allowed in the description of an option of an application command.

MaximumNameCharacters

readonly MaximumNameCharacters: 32

Maximum characters allowed in the name of an option of an application command.

MaximumStringLength

readonly MaximumStringLength: 6000

Maximum length of string allowed in the string option of an application command.

Defined in

node_modules/@sapphire/discord-utilities/dist/esm/index.d.mts:383