Class ModularBot

java.lang.Object
enterprises.iwakura.modularbot.ModularBot

public final class ModularBot extends Object
  • Constructor Details

  • Method Details

    • get

      public static ModularBot get()
      Returns the singleton instance of ModularBot
      Returns:
      the singleton instance of ModularBot
    • start

      public void start(String[] args)
    • shutdown

      public void shutdown()
      Shutdowns ModularDiscordBot
    • addInternalModules

      public void addInternalModules(@NonNull @NonNull Module... modules)
      Adds internal module. Added modules will be loaded upon starting the ModularBot. If it's already started, it will be loaded immediately.
      Parameters:
      modules - Modules to add