Command

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

Marks a class as a LunaticChat command.

Parameters

name

The primary command name (without leading slash)

aliases

List of alternative command names

description

Human-readable description for help text

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard