Fix preset lookup not matching casing

This commit is contained in:
Chomp
2025-03-28 16:50:58 +00:00
parent 0b23fc514a
commit 555d3e1bef
@@ -48,7 +48,7 @@ public class BotController(
public int GetBotPresetGenerationLimit(string type)
{
if (!_botConfig.PresetBatch.TryGetValue(type.ToLower(), out var limit))
if (!_botConfig.PresetBatch.TryGetValue(type, out var limit))
{
_logger.Warning(_localisationService.GetText("bot-bot_preset_count_value_missing", type));