HidekoBot/src/main/java/wtf/beatrice/hidekobot/Configuration.java
Beatrice DellacĂ  a18b34b784
All checks were successful
continuous-integration/drone/push Build is passing
Add pause command to halt processing
Useful for now since I have two instances of the bot running in the same servers and I don't want both of them to respond.
2022-08-26 20:27:46 +02:00

20 lines
442 B
Java

package wtf.beatrice.hidekobot;
public class Configuration
{
private static boolean verbose = false;
private static boolean paused = false;
public static boolean isVerbose() { return verbose; }
// WARNING: verbosity spams the logs a LOT!
public static void setVerbose(boolean v) { verbose = v; }
public static boolean isPaused() { return paused; }
public static void setPaused(boolean p) { paused = p; }
}