ofSubcommands

Declares a top-level, non-executable slash command. This is used for subcommands and/or subcommand groups.

See the Discord docs on which paths are allowed.

The default allowed interaction contexts and integration types can be redefined in the corresponding command manager.

Requirements

The first parameter must be:

See also

@JDASlashCommand