fix: some config settings have the wrong defaults

This commit is contained in:
rladenson 2024-11-08 12:29:37 -07:00
parent 0c802ab0bd
commit ecfc500cfa

View file

@ -474,7 +474,7 @@ public class Config
return;
}
var newVal = ctx.MatchToggle(true);
var newVal = ctx.MatchToggle(false);
await ctx.Repository.UpdateSystemConfig(ctx.System.Id, new() { HidDisplaySplit = newVal });
await ctx.Reply($"Splitting of 6-character IDs with a hyphen is now {EnabledDisabled(newVal)}.");
}
@ -488,7 +488,7 @@ public class Config
return;
}
var newVal = ctx.MatchToggle(true);
var newVal = ctx.MatchToggle(false);
await ctx.Repository.UpdateSystemConfig(ctx.System.Id, new() { HidDisplayCaps = newVal });
await ctx.Reply($"Displaying IDs as capital letters is now {EnabledDisabled(newVal)}.");
}