Package org.prithvidiamond1.Commands
Class HelpCommand
java.lang.Object
org.prithvidiamond1.Commands.HelpCommand
- All Implemented Interfaces:
Command
This class contains the actions of the help command
Displays a description of all the available bot commands
Displays a description of all the available bot commands
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
runCommand
(org.javacord.api.event.interaction.SlashCommandCreateEvent event) the slash version of the help commandvoid
runCommand
(org.javacord.api.event.message.MessageCreateEvent event) the guild version of the help command
-
Constructor Details
-
HelpCommand
public HelpCommand()
-
-
Method Details
-
runCommand
public void runCommand(org.javacord.api.event.message.MessageCreateEvent event) the guild version of the help command- Specified by:
runCommand
in interfaceCommand
- Parameters:
event
- the guild command trigger event
-
runCommand
public void runCommand(org.javacord.api.event.interaction.SlashCommandCreateEvent event) the slash version of the help command- Specified by:
runCommand
in interfaceCommand
- Parameters:
event
- the slash command trigger event
-