Package-level declarations

Types

Link copied to clipboard
open class ChatCommand<T : Arguments>(val extension: Extension, val arguments: () -> T? = null) : Command

Class representing a chat command.

Link copied to clipboard
open class ChatCommandContext<T : Arguments>(val chatCommand: ChatCommand<out T>, val eventObj: MessageCreateEvent, val commandName: Key, val parser: StringParser, val argString: String, val cache: MutableStringKeyedMap<Any>) : CommandContext

Command context object representing the context given to chat commands.

Link copied to clipboard

Class in charge of handling argument parsing for commands.

Link copied to clipboard

A class for the registration and dispatching of message-based commands.

Link copied to clipboard
open class ChatGroupCommand<T : Arguments>(extension: Extension, arguments: () -> T? = null, val parent: ChatGroupCommand<out Arguments>? = null) : ChatCommand<T>

Class representing a grouped command, which is essentially a command with its own subcommands.

Link copied to clipboard
open class ChatSubCommand<T : Arguments>(extension: Extension, arguments: () -> T? = null, val parent: ChatGroupCommand<out Arguments>) : ChatCommand<T>

Class representing a subcommand.