ChatCommand

abstract class ChatCommand(name: String, aliases: Set<String>, scope: Scope, category: String, description: String?, discordPermsRequired: PermissionSet, usage: CommandUsage?)

Functions

register
Link copied to clipboard
fun register(dispatcher: CommandDispatcher<ChatCommandSource>)

Properties

aliases
Link copied to clipboard
val aliases: Set<String>
category
Link copied to clipboard
val category: String
description
Link copied to clipboard
val description: String? = null
discordPermsRequired
Link copied to clipboard
val discordPermsRequired: PermissionSet
name
Link copied to clipboard
val name: String
scope
Link copied to clipboard
val scope: Scope
usage
Link copied to clipboard
val usage: CommandUsage? = null

Sources

jvm source
Link copied to clipboard