fix(bot): correct default values for id display split and caps

This commit is contained in:
Petal Ladenson 2024-11-09 11:32:35 -07:00 committed by GitHub
parent 0c802ab0bd
commit a0f6ed6f89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)}.");
}