fix(bot): allow "split id" for config option

This commit is contained in:
Iris System 2024-04-28 20:01:21 +12:00
parent dc3e21a195
commit a3f1601938

View file

@ -538,7 +538,7 @@ public partial class CommandTree
return ctx.Execute<Config>(null, m => m.CaseSensitiveProxyTags(ctx)); return ctx.Execute<Config>(null, m => m.CaseSensitiveProxyTags(ctx));
if (ctx.MatchMultiple(new[] { "proxy" }, new[] { "error" }) || ctx.Match("pe")) if (ctx.MatchMultiple(new[] { "proxy" }, new[] { "error" }) || ctx.Match("pe"))
return ctx.Execute<Config>(null, m => m.ProxyErrorMessageEnabled(ctx)); return ctx.Execute<Config>(null, m => m.ProxyErrorMessageEnabled(ctx));
if (ctx.MatchMultiple(new[] { "split" }, new[] { "ids" }) || ctx.Match("sid")) if (ctx.MatchMultiple(new[] { "split" }, new[] { "id", "ids" }) || ctx.Match("sid"))
return ctx.Execute<Config>(null, m => m.HidDisplaySplit(ctx)); return ctx.Execute<Config>(null, m => m.HidDisplaySplit(ctx));
// todo: maybe add the list of configuration keys here? // todo: maybe add the list of configuration keys here?