SlashCommandGroupData

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class SlashCommandGroupData(val description: String = "")(source)

Additional annotation for slash command groups.

This is only used to specify properties on the subcommand group of the annotated slash command, such as the description.

This must be used on a subcommand in a subcommand group, and specified at most once per slash command group, e.g., if you have /ban temp user and /ban temp recent, you can annotate at most one of them.

See also

@JDASlashCommand

Properties

Link copied to clipboard

Short description of the subcommand group. May be displayed on Discord.