diff --git a/src/DiscordChat.cs b/src/DiscordChat.cs index a4f8071..30d32f4 100644 --- a/src/DiscordChat.cs +++ b/src/DiscordChat.cs @@ -64,6 +64,12 @@ public void OnConfigParsed(DiscordChatConfig config) throw new InvalidOperationException("[DISCORDCHAT ERROR] Failed to load configuration >> DiscordWebhook is a required field in the configuration file."); } + if (config.DiscordChatSteamKey == null || config.DiscordChatSteamKey == "") + { + // Steam Key not configured, defaulting to simple style. + config.DiscordChatStyle = 0; + } + // Load config Config = config; }