Add aliases for pk;commands

This commit is contained in:
spiral 2020-11-19 18:06:50 -05:00
parent 01cedaab53
commit 4991d06821
No known key found for this signature in database
GPG Key ID: 00C26F208D3FCCAB

View File

@ -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>(Autoproxy, m => m.AutoproxyRoot(ctx));