diff --git a/src/discord/MagicBot.java b/src/discord/MagicBot.java index 9bf6b233..ce487473 100644 --- a/src/discord/MagicBot.java +++ b/src/discord/MagicBot.java @@ -28,10 +28,7 @@ import org.pmw.tinylog.writers.RollingFileWriter; import javax.security.auth.login.LoginException; import java.io.*; -import java.util.Arrays; -import java.util.EnumSet; -import java.util.List; -import java.util.Random; +import java.util.*; import java.util.regex.Pattern; /* @@ -96,8 +93,8 @@ public class MagicBot extends ListenerAdapter { database = new Database(); database.configureDatabase(); - // Use authentication token issued to MagicBot application to - // connect to Discord. Bot is pre-invited to the Magicbane server. + // Authentication token issued to MagicBot application to connect + // to Discord is stored in config. Bot is pre-invited to the Magicbane server. // Configure and create JDA discord instance @@ -121,6 +118,13 @@ public class MagicBot extends ListenerAdapter { ChatChannel.Init(); Logger.info("***MAGICBOT IS RUNNING***"); + + HashMap adminEvents = database.getAdminEvents(); + + for (String adminEvent : adminEvents.values()) { + Logger.info(adminEvent); + } + } @Override