Uses of Interface
com.github.alex1304.ultimategdbot.api.command.Command
-
Packages that use Command Package Description com.github.alex1304.ultimategdbot.api.command com.github.alex1304.ultimategdbot.api.command.annotated -
-
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. command()
Gets the command that created this context.Command
ExecutableCommand. getCommand()
Gets the underlying command instance.Methods in com.github.alex1304.ultimategdbot.api.command that return types with arguments of type Command Modifier and Type Method Description Optional<Command>
CommandProvider. getCommandByAlias(String alias)
Gets a command instance corresponding to the given alias.Optional<Command>
CommandService. getCommandByAlias(String alias)
Gets a command instance corresponding to the given alias.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, List<String> args, FlagSet flags, String prefixUsed, Locale locale, discord4j.core.object.entity.channel.MessageChannel channel)
ExecutableCommand(Command command, Context context, CommandErrorHandler errorHandler, PermissionChecker permissionChecker)
-
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.
-