Skip to main content

Variable: ApplicationCommandLimits

const ApplicationCommandLimits: object

Namespace containing limits related to Discord application commands (slash commands).

Type declaration

MaximumCombinedCharacters

readonly MaximumCombinedCharacters: 4000 = 4000

Maximum combined characters allowed in the name, description, and value properties of an application command, its options (including subcommands and groups), and choices.

MaximumDescriptionCharacters

readonly MaximumDescriptionCharacters: 100 = 100

Maximum characters allowed in an application command description.

MaximumNameCharacters

readonly MaximumNameCharacters: 32 = 32

Maximum characters allowed in an application command name.

MaximumOptionsLength

readonly MaximumOptionsLength: 25 = 25

Maximum options allowed in an application command.

Defined in

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