Package org.prithvidiamond1
Class CommandRegister
java.lang.Object
org.prithvidiamond1.CommandRegister
Class that contains methods for registering and running bot commands
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
run
(org.javacord.api.DiscordApi api, CommandHandler commandHandler) Method that runs the bot commands
-
Constructor Details
-
CommandRegister
public CommandRegister()
-
-
Method Details
-
run
Method that runs the bot commands- Parameters:
api
- the discord api instancecommandHandler
- the command handler instance i.e. the implementation of a command listener
-