Improved logging with exceptions and remove config enum parameter

This commit is contained in:
Alex
2025-01-15 11:49:42 +00:00
parent f55f3f45ec
commit 6a2f11d2c4
39 changed files with 90 additions and 58 deletions
+2 -2
View File
@@ -76,8 +76,8 @@ public class BotController
_applicationContext = applicationContext;
_randomUtil = randomUtil;
_cloner = cloner;
_botConfig = _configServer.GetConfig<BotConfig>(ConfigTypes.BOT);
_pmcConfig = _configServer.GetConfig<PmcConfig>(ConfigTypes.PMC);
_botConfig = _configServer.GetConfig<BotConfig>();
_pmcConfig = _configServer.GetConfig<PmcConfig>();
}
public int GetBotPresetGenerationLimit(string type)