java.lang.Object
net.foxgenesis.watame.WatameBot
Class containing WatameBot implementation
- Author:
- Ashley
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
-
Field Details
-
logger
public static final org.slf4j.Logger loggerGeneral purpose logger -
INSTANCE
Singleton instance of class -
CONFIG_PATH
Path pointing to the configuration directory
-
-
Method Details
-
isConnectedToDiscord
public boolean isConnectedToDiscord()Check if this instancesJDAis built and connected to Discord.- Returns:
JDAinstance is built and its current status isJDA.Status.CONNECTED.
-
getDatabaseManager
NEED_JAVADOC- Returns:
- Returns the
IDatabaseManagerused to register custom databases
-
getPropertyProvider
-
getLoggingChannel
-
getJDA
public net.dv8tion.jda.api.JDA getJDA()NEED_JAVADOC- Returns:
- the current instance of
JDA
-
getState
Get the current state of the bot.- Returns:
- Returns the
WatameBot.Stateof the bot - See Also:
-