Class CommandRegister

java.lang.Object
org.prithvidiamond1.CommandRegister

public class CommandRegister extends Object
Class that contains methods for registering and running bot commands
  • Constructor Details

    • CommandRegister

      public CommandRegister()
  • Method Details

    • run

      public static void run(org.javacord.api.DiscordApi api, CommandHandler commandHandler)
      Method that runs the bot commands
      Parameters:
      api - the discord api instance
      commandHandler - the command handler instance i.e. the implementation of a command listener