From 53a3d1886bc1f40c99687aab469c778649539e08 Mon Sep 17 00:00:00 2001 From: Iris System Date: Mon, 29 Apr 2024 16:46:18 +1200 Subject: [PATCH] fix(bot): add more plural forms to new config commands --- PluralKit.Bot/CommandMeta/CommandTree.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PluralKit.Bot/CommandMeta/CommandTree.cs b/PluralKit.Bot/CommandMeta/CommandTree.cs index 8296b2b2..b4a9845b 100644 --- a/PluralKit.Bot/CommandMeta/CommandTree.cs +++ b/PluralKit.Bot/CommandMeta/CommandTree.cs @@ -538,9 +538,9 @@ 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[] { "id", "ids" }) || ctx.Match("sid")) + if (ctx.MatchMultiple(new[] { "split" }, new[] { "id", "ids" }) || ctx.Match("sid", "sids")) return ctx.Execute(null, m => m.HidDisplaySplit(ctx)); - if (ctx.MatchMultiple(new[] { "caps", "capitalize", "capitalise" }, new[] { "id", "ids" }) || ctx.Match("capid")) + if (ctx.MatchMultiple(new[] { "cap", "caps", "capitalize", "capitalise" }, new[] { "id", "ids" }) || ctx.Match("capid", "capids")) return ctx.Execute(null, m => m.HidDisplayCaps(ctx)); // todo: maybe add the list of configuration keys here?