Package tv.blademaker.slash.api.annotations

Types

OptionName
Link copied to clipboard
annotation class OptionName(value: String)

Define a custom name for a command event option, this means you can use a different variable name to get an option with different name.

Permissions
Link copied to clipboard
annotation class Permissions(user: Array<Permission>, bot: Array<Permission>)
SlashCommand
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class SlashCommand(name: String, group: String)