feat(bot): add system aliases "account" and "acc"

This commit is contained in:
Petal Ladenson 2025-05-13 17:56:29 -06:00 committed by GitHub
parent 3d0eb562bf
commit 4dd80805ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@ public partial class CommandTree
{
public Task ExecuteCommand(Context ctx)
{
if (ctx.Match("system", "s"))
if (ctx.Match("system", "s", "account", "acc"))
return HandleSystemCommand(ctx);
if (ctx.Match("member", "m"))
return HandleMemberCommand(ctx);
@ -503,6 +503,8 @@ public partial class CommandTree
case "system":
case "systems":
case "s":
case "account":
case "acc":
await PrintCommandList(ctx, "systems", SystemCommands);
break;
case "member":