Module watamebot

Class WatameBot

java.lang.Object
net.foxgenesis.watame.WatameBot

public class WatameBot extends Object
Class containing WatameBot implementation
Author:
Ashley
  • Field Details

    • logger

      public static final org.slf4j.Logger logger
      General purpose logger
    • INSTANCE

      public static final WatameBot INSTANCE
      Singleton instance of class
    • CONFIG_PATH

      public static final Path CONFIG_PATH
      Path pointing to the configuration directory
  • Method Details

    • isConnectedToDiscord

      public boolean isConnectedToDiscord()
      Check if this instances JDA is built and connected to Discord.
      Returns:
      JDA instance is built and its current status is JDA.Status.CONNECTED.
    • getDatabaseManager

      public IDatabaseManager getDatabaseManager()
      NEED_JAVADOC
      Returns:
      Returns the IDatabaseManager used to register custom databases
    • getPropertyProvider

      public PluginPropertyProvider getPropertyProvider()
    • getLoggingChannel

      public ImmutablePluginProperty getLoggingChannel()
    • getJDA

      public net.dv8tion.jda.api.JDA getJDA()
      NEED_JAVADOC
      Returns:
      the current instance of JDA
    • getState

      public WatameBot.State getState()
      Get the current state of the bot.
      Returns:
      Returns the WatameBot.State of the bot
      See Also: