From a3f1601938787bfbf5d19d3202a363dd7c03b24e Mon Sep 17 00:00:00 2001 From: Iris System Date: Sun, 28 Apr 2024 20:01:21 +1200 Subject: [PATCH] fix(bot): allow "split id" for config option --- PluralKit.Bot/CommandMeta/CommandTree.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/CommandMeta/CommandTree.cs b/PluralKit.Bot/CommandMeta/CommandTree.cs index 70e5e709..e82eb189 100644 --- a/PluralKit.Bot/CommandMeta/CommandTree.cs +++ b/PluralKit.Bot/CommandMeta/CommandTree.cs @@ -538,7 +538,7 @@ public partial class CommandTree return ctx.Execute(null, m => m.CaseSensitiveProxyTags(ctx)); if (ctx.MatchMultiple(new[] { "proxy" }, new[] { "error" }) || ctx.Match("pe")) return ctx.Execute(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(null, m => m.HidDisplaySplit(ctx)); // todo: maybe add the list of configuration keys here?