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 = 25

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

MaximumDescriptionCharacters

readonly MaximumDescriptionCharacters: 100 = 100

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

MaximumNameCharacters

readonly MaximumNameCharacters: 32 = 32

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

MaximumStringLength

readonly MaximumStringLength: 6000 = 6000

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

Defined in

projects/utilities/packages/discord-utilities/src/lib/limits.ts:350