RattleCommand

abstract class RattleCommand<C : Audience>(rattle: RattleHook, messages: MessageProxy<RattleMessages>, manager: CommandManager<C>) : AlexandriaCommand<C>

Constructors

Link copied to clipboard
constructor(rattle: RattleHook, messages: MessageProxy<RattleMessages>, manager: CommandManager<C>)

Properties

Link copied to clipboard
val manager: CommandManager<C>
Link copied to clipboard
Link copied to clipboard
val root: Command.Builder<C>

Functions

Link copied to clipboard
fun Command.Builder<C>.axHandler(block: (CommandContext<C>) -> Unit): Command.Builder<C>
Link copied to clipboard
fun Command.Builder<C>.axPermission(permission: String): Command.Builder<C>
Link copied to clipboard
fun error(text: Message): Nothing
Link copied to clipboard
fun <T : Any> MessageProxy<T>.forAudience(sender: Audience): T
Link copied to clipboard
fun mustBePlayer(sender: C): Nothing
Link copied to clipboard
fun Message.sendTo(audience: Audience)