Slash Subcommand Info
Represents a slash subcommand, either in a top-level command, or a subcommand group.
Properties
All options from this executable, including from its aggregates.
All options from this executable, including from its aggregates, sorted by order of appearance in this function.
The permissions required for the bot to run this command.
Purely for debugging purposes, will be shown in exceptions.
The description of this slash command.
All options representing a Discord input.
Returns the full command name of this application command, separate with spaces.
The parameters of this executable.
The parent of this command, null
for top-level commands.
The complete path that leads to this command.
Retrieves the top-level command owning this application command.
The permissions required for the caller to use this command.
Functions
Finds all annotations of type annotationType from this executable's function.
Finds all annotations of type A from this executable's function.
Finds all annotations meta-annotated with annotationType from this executable's function.
Finds all annotations meta-annotated with A from this executable's function.
Finds a single annotation of type annotationType from this executable's function.
Finds a single annotation of type A from this executable's function.
Finds all annotations from this executable's function.
Returns the option with the supplied declared name (i.e., name of the method parameter), or null
if not found.
Returns the option with the supplied display name (i.e., the name you see on Discord), or null
if not found.
Returns the aggregated parameter with the supplied declared name (i.e., name of the method parameter), or null
if not found.
Returns a Usability instance, representing whether this application command can be used.
Returns true
if this element is annotated with annotationType.
Returns true
if this element is annotated with A.
Return true
if this has a one or more filters.
Return true
if this has a rate limiter.