interface CommandClient
The command client.
class CommandEvent : GenericGuildMessageEvent
An command event. |
abstract val commandAssociations: Map<String, Command>
The registered aliases and their command. |
|
open val commands: List<Command>
All registered commands. |
|
abstract val config: CommandClientConfiguration
The configuration of the client. |
|
abstract val executor: ExecutorService
The executor to execute command. |
|
abstract val informationProvider: InformationProvider
The information provider. |
|
abstract val permissionHandler: PermissionHandler
The permission handler. |
abstract fun dispatchCommand(commandEvent: CommandClient.CommandEvent): Unit
Dispatches a command from the commandEvent. |
|
abstract fun registerCommand(command: Command): Unit
Registers the command. |
|
open fun registerCommands(vararg commands: Command): Unit open fun registerCommands(commands: Collection<Command>): Unit
Registers the commands. |
|
abstract fun unregisterAlias(alias: String): Unit
Unregisters the alias. |
|
abstract fun unregisterCommand(command: Command): Unit
Unregisters the command. |