Creates a handler type for a slash command, where subcommands and subcommand groups are represented as nested properties.
The function used to create the handler type for a slash command.
The type of the interaction.
The options, which may include subcommands and subcommand groups.
Creates a handler type for a slash command, where subcommands and subcommand groups are represented as nested properties.