Package net.bonn2

Class Bot

java.lang.Object
net.bonn2.Bot

public class Bot extends Object
  • Field Details

    • logger

      public static final org.slf4j.Logger logger
    • jda

      public static net.dv8tion.jda.api.JDA jda
    • localPath

      public static String localPath
    • modulePath

      public static String modulePath
    • modules

      public static final List<Module> modules
  • Constructor Details

    • Bot

      public Bot()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • updateCommands

      public static void updateCommands()
    • getModuleIgnoreCase

      @Nullable public static @Nullable Module getModuleIgnoreCase(@NotNull @NotNull String name)
      Gets a Module by a specified name
      Parameters:
      name - The name of the Module to get
      Returns:
      The Module of the specified name, or null if not found