Class CommandManager

    • Constructor Summary

      Constructors 
      Constructor Description
      CommandManager()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void executeCommand​(net.dv8tion.jda.api.entities.Message message, java.lang.String command, java.lang.String[] args)  
      boolean existsCommand​(java.lang.String command)  
      java.util.Map<java.lang.String,​java.lang.String> getAliases()  
      java.lang.String getPrefix​(net.dv8tion.jda.api.entities.Guild guild)  
      java.util.Map<java.lang.String,​Command> getRegisteredCommands()  
      void registerCommand​(Command command)  
      Command resolveCommand​(java.lang.String command)  
      net.dv8tion.jda.api.entities.Message sendHelpMessage​(net.dv8tion.jda.api.entities.MessageChannel channel, @Nullable java.lang.String command)  
      void setPrefix​(net.dv8tion.jda.api.entities.Guild guild, java.lang.String prefix)  
      void unregisterCommand​(Command command)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CommandManager

        public CommandManager()