Package com.jagrosh.jdautilities.command
package com.jagrosh.jdautilities.command
Items in this package pertain to the
CommandClient
and
Commands
.
All of the contents are used heavily in the CommandClientImpl
,
and are summarized as follows:
AnnotatedModuleCompiler
An interface to create Commands from annotated objects (More info on annotated commands can be found in theJDACommand
documentation).CommandBuilder
An chain builder for Commands.Command
An abstract class that can be inherited by classes to create Commands compatible with theCommandClientImpl
.CommandClient
An interface used for getting info set when building aCommandClientImpl
.CommandClientBuilder
A builder system used to create aCommandClientImpl
across several optional chained methods.CommandEvent
A wrapper for aMessageReceivedEvent
,CommandClient
, and String arguments. The main basis for carrying information to be used in Commands.CommandListener
An interface to be provided to aCommandClientImpl
that can provide Command operations depending on the outcome of the call.GuildSettingsManager
An abstract object used to store and handleGuildSettingsProvider
implementations.GuildSettingsProvider
An implementable interface used to supply default methods for handling guild specific settings via aGuildSettingsManager
.
-
ClassDescriptionCommands In JDA-UtilitiesTo be used in
Command
s as a means of organizing commands into "Categories" as well as terminate command usage when the callingCommandEvent
doesn't meet certain requirements.A chain-setter based builder forCommands
.A Bot Client interface implemented on objects used to hold bot data.A simple builder used to create aCommandClientImpl
.A wrapper class for aMessageReceivedEvent
,CommandClient
, and String user arguments compatible with allCommand
s.An implementable "Listener" that can be added to aCommandClient
and used to handle events relating toCommand
s.Middleware for child context menu types.A series ofEnum
s used for defining the scope size for aInteraction
's cooldown.An implementable frame for classes that handle Guild-Specific settings.A basic frame that is optionally implementable by objects returned fromGuildSettingsManager#getSettings(Guild)
.A class that represents an interaction with a user.Message Context Menus In JDA-ChewtilsSlash Commands In JDA-ChewtilsA wrapper class for aSlashCommandInteractionEvent
andCommandClient
.User Context Menus In JDA-Chewtils