Package-level declarations

Types

Link copied to clipboard
annotation class Argument(val type: KClass<out Argument<*>> = ArgumentString::class)

Add an argument to a command.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Command(val name: String, val aliases: Array<String> = [], val description: String = "", val usage: String = "", val permission: String = "")

Mark this class as a command

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class Subcommand(val path: String, val description: String = "", val usage: String = "")

Mark this function as a subcommand.