mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-11 13:33:54 +00:00
Forgot to optimize this. (#12)
This commit is contained in:
@ -31,13 +31,9 @@ public class Discord extends FreedomService
|
||||
|
||||
public void startBot()
|
||||
{
|
||||
if (!Strings.isNullOrEmpty(ConfigEntry.DISCORD_TOKEN.getString()))
|
||||
enabled = !Strings.isNullOrEmpty(ConfigEntry.DISCORD_TOKEN.getString());
|
||||
if (!enabled)
|
||||
{
|
||||
enabled = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
enabled = false;
|
||||
return;
|
||||
}
|
||||
if (bot != null)
|
||||
|
Reference in New Issue
Block a user