OnSlashCommand

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class OnSlashCommand(val name: String = "", val group: String = "", val target: InteractionTarget = InteractionTarget.GUILD)

Properties

Link copied to clipboard

Sub-command group name.

Link copied to clipboard

Sub-command name.

Link copied to clipboard

The InteractionTarget of the OnSlashCommand (default is InteractionTarget.GUILD)