SlashCommand

annotation class SlashCommand(val name: String, val description: String, val permissionScope: PermissionScope = PermissionScope.USER)(source)

Represents the SlashCommand annotation used to annotate classes that define slash commands.

Properties

Link copied to clipboard

The description of the slash command.

Link copied to clipboard

The name of the slash command.

Link copied to clipboard

The permission scope required to use the slash command. Default value is PermissionScope.USER.