Class MessageCommand
java.lang.Object
net.essentialsx.discord.interactions.InteractionCommandImpl
net.essentialsx.discord.interactions.commands.MessageCommand
- All Implemented Interfaces:
InteractionCommand
-
Field Summary
Fields inherited from class net.essentialsx.discord.interactions.InteractionCommandImpl
jda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCommand
(InteractionEvent event) Called when an interaction command is received from Discord.Methods inherited from class net.essentialsx.discord.interactions.InteractionCommandImpl
addArgument, getAdminSnowflakes, getArguments, getDescription, getName, isDisabled, isEphemeral
-
Constructor Details
-
MessageCommand
-
-
Method Details
-
onCommand
Description copied from interface:InteractionCommand
Called when an interaction command is received from Discord.- Parameters:
event
- TheInteractionEvent
which caused this command to be executed.
-