From 4dd80805aedb2a70e03b8372aa2c46c8b2a2252d Mon Sep 17 00:00:00 2001 From: Petal Ladenson Date: Tue, 13 May 2025 17:56:29 -0600 Subject: [PATCH] feat(bot): add system aliases "account" and "acc" --- PluralKit.Bot/CommandMeta/CommandTree.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PluralKit.Bot/CommandMeta/CommandTree.cs b/PluralKit.Bot/CommandMeta/CommandTree.cs index 3c620e63..8d111ef4 100644 --- a/PluralKit.Bot/CommandMeta/CommandTree.cs +++ b/PluralKit.Bot/CommandMeta/CommandTree.cs @@ -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":