diff --git a/src/discord/ChatChannel.java b/src/discord/ChatChannel.java index de86cd1d..1540dfce 100644 --- a/src/discord/ChatChannel.java +++ b/src/discord/ChatChannel.java @@ -20,7 +20,7 @@ public enum ChatChannel { GENERAL("MB_MAGICBOT_GENERAL"), FORTOFIX("MB_MAGICBOT_FORTOFIX"), RECRUIT("MB_MAGICBOT_RECRUIT"), - + MAGICBOX("MB_MAGICBOT_MAGICBOX"), ADMINLOG("MB_MAGICBOT_ADMINLOG"); public final String configName; diff --git a/src/discord/MagicBot.java b/src/discord/MagicBot.java index 93eb189f..0ada6f9e 100644 --- a/src/discord/MagicBot.java +++ b/src/discord/MagicBot.java @@ -209,6 +209,9 @@ public class MagicBot extends ListenerAdapter { case "#recruit": ChatChannelHandler.handleRequest(ChatChannel.RECRUIT, event, args); break; + case "#magicbox": + ChatChannelHandler.handleRequest(ChatChannel.MAGICBOX, event, args); + break; case "#lookup": LookupRequestHandler.handleRequest(event, args); break; diff --git a/src/engine/gameManager/ConfigManager.java b/src/engine/gameManager/ConfigManager.java index b23ca660..658f6c33 100644 --- a/src/engine/gameManager/ConfigManager.java +++ b/src/engine/gameManager/ConfigManager.java @@ -88,6 +88,7 @@ public enum ConfigManager { MB_MAGICBOT_GENERAL, MB_MAGICBOT_FORTOFIX, MB_MAGICBOT_RECRUIT, + MB_MAGICBOT_MAGICBOX, MB_MAGICBOT_ADMINLOG; // Map to hold our config pulled in from the environment