Uses of Interface
com.github.alex1304.ultimategdbot.api.command.Command
Package | Description |
---|---|
com.github.alex1304.ultimategdbot.api | |
com.github.alex1304.ultimategdbot.api.command | |
com.github.alex1304.ultimategdbot.api.command.annotated |
-
Uses of Command in com.github.alex1304.ultimategdbot.api
Methods in com.github.alex1304.ultimategdbot.api that return Command Modifier and Type Method Description Command
CommandKernel. getCommandByAlias(java.lang.String alias)
Gets a command instance corresponding to the given alias. -
Uses of Command in com.github.alex1304.ultimategdbot.api.command
Methods in com.github.alex1304.ultimategdbot.api.command that return Command Modifier and Type Method Description Command
Context. getCommand()
Gets the command that created this context.Command
ExecutableCommand. getCommand()
Gets the underlying command instance.Command
CommandProvider. getCommandByAlias(java.lang.String alias)
Gets a command instance corresponding to the given alias.Methods in com.github.alex1304.ultimategdbot.api.command that return types with arguments of type Command Modifier and Type Method Description java.util.Set<Command>
CommandProvider. getProvidedCommands()
Gets all provided commands.Methods in com.github.alex1304.ultimategdbot.api.command with parameters of type Command Modifier and Type Method Description void
CommandProvider. add(Command command)
Adds a command to this provider.Constructors in com.github.alex1304.ultimategdbot.api.command with parameters of type Command Constructor Description Context(Command command, discord4j.core.event.domain.message.MessageCreateEvent event, java.util.List<java.lang.String> args, FlagSet flags, Bot bot, java.lang.String prefixUsed, discord4j.core.object.entity.MessageChannel channel)
ExecutableCommand(Command command, Context context, CommandErrorHandler errorHandler)
-
Uses of Command in com.github.alex1304.ultimategdbot.api.command.annotated
Classes in com.github.alex1304.ultimategdbot.api.command.annotated that implement Command Modifier and Type Class Description class
AnnotatedCommand
Command implemented via annotations.