From 4991d06821ae1bf760d97ba528db4c76013681c6 Mon Sep 17 00:00:00 2001 From: spiral Date: Thu, 19 Nov 2020 18:06:50 -0500 Subject: [PATCH] Add aliases for pk;commands --- PluralKit.Bot/Commands/CommandTree.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Commands/CommandTree.cs b/PluralKit.Bot/Commands/CommandTree.cs index 211bf148..5561fe99 100644 --- a/PluralKit.Bot/Commands/CommandTree.cs +++ b/PluralKit.Bot/Commands/CommandTree.cs @@ -129,7 +129,7 @@ namespace PluralKit.Bot return HandleGroupCommand(ctx); if (ctx.Match("switch", "sw")) return HandleSwitchCommand(ctx); - if (ctx.Match("commands")) + if (ctx.Match("commands", "cmd", "c")) return CommandHelpRoot(ctx); if (ctx.Match("ap", "autoproxy", "auto")) return ctx.Execute(Autoproxy, m => m.AutoproxyRoot(ctx));