From 2b5fab96895313e5c08a0c18d7d63e0ddd2aa788 Mon Sep 17 00:00:00 2001 From: Iris System Date: Mon, 30 Dec 2024 06:24:28 +0000 Subject: [PATCH] fix(bot): less confusing alias for "pk;scfg suppress notifications" --- 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 23715dc2..8d58bb18 100644 --- a/PluralKit.Bot/CommandMeta/CommandTree.cs +++ b/PluralKit.Bot/CommandMeta/CommandTree.cs @@ -614,7 +614,7 @@ public partial class CommandTree return ctx.Execute(null, m => m.InvalidCommandResponse(ctx)); if (ctx.MatchMultiple(new[] { "require", "enforce" }, new[] { "tag", "systemtag" }) || ctx.Match("requiretag", "enforcetag")) return ctx.Execute(null, m => m.RequireSystemTag(ctx)); - if (ctx.MatchMultiple(new[] { "suppress" }, new[] { "notifications" }) || ctx.Match("proxyping", "proxynotif")) + if (ctx.MatchMultiple(new[] { "suppress" }, new[] { "notifications" }) || ctx.Match("proxysilent")) return ctx.Execute(null, m => m.SuppressNotifications(ctx)); if (ctx.MatchMultiple(new[] { "log" }, new[] { "channel" })) return ctx.Execute(null, m => m.SetLogChannel(ctx));