Class ContextCommand.User
java.lang.Object
xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
xyz.dynxsty.dih4jda.interactions.commands.application.ApplicationCommand<net.dv8tion.jda.api.events.interaction.command.UserContextInteractionEvent,net.dv8tion.jda.api.interactions.commands.build.CommandData>
xyz.dynxsty.dih4jda.interactions.commands.application.BaseApplicationCommand<net.dv8tion.jda.api.events.interaction.command.UserContextInteractionEvent,net.dv8tion.jda.api.interactions.commands.build.CommandData>
xyz.dynxsty.dih4jda.interactions.commands.application.ContextCommand<net.dv8tion.jda.api.events.interaction.command.UserContextInteractionEvent>
xyz.dynxsty.dih4jda.interactions.commands.application.ContextCommand.User
- All Implemented Interfaces:
ExecutableCommand<net.dv8tion.jda.api.events.interaction.command.UserContextInteractionEvent>
- Enclosing class:
ContextCommand<E extends net.dv8tion.jda.api.events.interaction.command.GenericCommandInteractionEvent>
public abstract static class ContextCommand.User
extends ContextCommand<net.dv8tion.jda.api.events.interaction.command.UserContextInteractionEvent>
Creates a new user-context command.
-
Nested Class Summary
Nested classes/interfaces inherited from class xyz.dynxsty.dih4jda.interactions.commands.application.ContextCommand
ContextCommand.Message, ContextCommand.User
Nested classes/interfaces inherited from class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
RestrictedCommand.Cooldown
-
Constructor Summary
-
Method Summary
Methods inherited from class xyz.dynxsty.dih4jda.interactions.commands.application.BaseApplicationCommand
getQueueableGuilds, getRegistrationType, setQueueableGuilds, setRegistrationType
Methods inherited from class xyz.dynxsty.dih4jda.interactions.commands.application.ApplicationCommand
getCommandData, setCommandData
Methods inherited from class xyz.dynxsty.dih4jda.interactions.commands.RestrictedCommand
applyCooldown, getCommandCooldown, getRequiredGuilds, getRequiredPermissions, getRequiredRoles, getRequiredUsers, hasCooldown, retrieveCooldown, setCommandCooldown, setRequiredGuilds, setRequiredPermissions, setRequiredRoles, setRequiredUsers
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface xyz.dynxsty.dih4jda.interactions.commands.ExecutableCommand
execute
-
Constructor Details
-
User
public User()Creates a new, default user command.
-