Slash Command Builder
Properties
The permissions required for the bot to run this command.
Purely for debugging purposes, will be shown in exceptions.
Short description of the command displayed on Discord.
Set of filters preventing this command from executing.
The parent of this command, null
for top-level commands.
The complete path that leads to this command.
The permissions required for the caller to use this command.
Functions
Sets an anonymous rate limit-based cooldown on this command. This cooldown cannot be referenced anywhere else as it is not registered.
Declares a custom option, such as an TextLocalizationContext (with @LocalizationBundle).
Convenience extension to load an ApplicationCommandFilter service.
Declares a generated option, the supplier gets called on each command execution.
Declares an aggregate creating an instance of the specified inline class, which can only accept a single option.
Declares an input option encapsulated in an inline class.
Declares multiple input options encapsulated in an inline class.
Declares an input option, supported types and modifiers are in ParameterResolver, additional types can be added by implementing SlashParameterResolver.
Declares multiple input options in a single parameter.
Sets an anonymous rate limiter on this command. This rate limiter cannot be referenced anywhere else as it is not registered.
Sets the rate limiter of this command to one declared by a RateLimitProvider.
Declares a service option, allowing injection of services, which must be available.