Class ContextCommand<E extends net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent>
java.lang.Object
xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
xyz.dynxsty.dih4jda.interactions.commands.application.ApplicationCommand<E,T>
xyz.dynxsty.dih4jda.interactions.commands.application.BaseApplicationCommand<E,net.dv8tion.jda.api.interactions.commands.build.CommandData>
xyz.dynxsty.dih4jda.interactions.commands.application.ContextCommand<E>
- Type Parameters:
E- theGenericCommandInteractionEventevent.
- All Implemented Interfaces:
ExecutableCommand<E>
- Direct Known Subclasses:
ContextCommand.Message,ContextCommand.User
public abstract class ContextCommand<E extends net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent>
extends BaseApplicationCommand<E,net.dv8tion.jda.api.interactions.commands.build.CommandData>
Model class which represents a single Context Command.
- Since:
- v1.5
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCreates a new message-context command.static classCreates a new user-context command.Nested classes/interfaces inherited from class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
RestrictedCommand.Cooldown -
Method Summary
Methods inherited from class xyz.dynxsty.dih4jda.interactions.commands.application.BaseApplicationCommand
getQueueableGuilds, getRegistrationType, setQueueableGuilds, setRegistrationTypeMethods inherited from class xyz.dynxsty.dih4jda.interactions.commands.application.ApplicationCommand
getCommandData, setCommandDataMethods inherited from class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
applyCooldown, getCommandCooldown, getRequiredGuilds, getRequiredPermissions, getRequiredRoles, getRequiredUsers, hasCooldown, retrieveCooldown, setCommandCooldown, setRequiredGuilds, setRequiredPermissions, setRequiredRoles, setRequiredUsersMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface xyz.dynxsty.dih4jda.interactions.commands.ExecutableCommand
execute