Package io. github. monull. command
Types
ArgumentCommand
Link copied to clipboard
class ArgumentCommand(name: String, requirement: CommandSource.() -> Boolean?, executor: CommandSource.(CommandContext) -> Unit?, children: Collection<Command>, argument: CommandArgument<*>) : Command
Content copied to clipboard
Command
Link copied to clipboard
abstract class Command(name: String, requirement: CommandSource.() -> Boolean?, executor: CommandSource.(CommandContext) -> Unit?, children: Collection<Command>)
Content copied to clipboard
CommandBuilder
Link copied to clipboard
CommandContext
Link copied to clipboard
CommandDispatcher
Link copied to clipboard
class CommandDispatcher(children: Map<String, LiteralCommandBuilder>, jda: JDA)
Content copied to clipboard
CommandDispatcherBuilder
Link copied to clipboard
CommandListener
Link copied to clipboard
class CommandListener(command: String, dispatcher: CommandDispatcher) : ListenerAdapter
Content copied to clipboard
CommandSource
Link copied to clipboard
CommandSyntaxException
Link copied to clipboard
LiteralCommand
Link copied to clipboard
class LiteralCommand(name: String, requirement: CommandSource.() -> Boolean?, executor: CommandSource.(CommandContext) -> Unit?, children: Collection<Command>) : Command
Content copied to clipboard
LiteralCommandBuilder
Link copied to clipboard
Functions
command
Link copied to clipboard
fun JDA.command(init: CommandDispatcherBuilder.() -> Unit): CommandDispatcher
Content copied to clipboard