From b8fda734e2681d63c2b58f01ee21eba626bd03d1 Mon Sep 17 00:00:00 2001 From: Iris System Date: Sun, 8 May 2022 10:27:37 +1200 Subject: [PATCH] feat: add more systemtag-related command aliases - `pk;s t` for tag - `pk;s st` for servertag (taken from a Notion suggestion) --- PluralKit.Bot/CommandMeta/CommandTree.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PluralKit.Bot/CommandMeta/CommandTree.cs b/PluralKit.Bot/CommandMeta/CommandTree.cs index a5453474..e1bea4ba 100644 --- a/PluralKit.Bot/CommandMeta/CommandTree.cs +++ b/PluralKit.Bot/CommandMeta/CommandTree.cs @@ -209,9 +209,9 @@ public partial class CommandTree { if (ctx.Match("name", "rename", "changename")) await ctx.CheckSystem(target).Execute(SystemRename, m => m.Name(ctx, target)); - else if (ctx.Match("tag")) + else if (ctx.Match("tag", "t")) await ctx.CheckSystem(target).Execute(SystemTag, m => m.Tag(ctx, target)); - else if (ctx.Match("servertag")) + else if (ctx.Match("servertag", "st")) await ctx.CheckSystem(target).Execute(SystemServerTag, m => m.ServerTag(ctx, target)); else if (ctx.Match("description", "desc", "bio")) await ctx.CheckSystem(target).Execute(SystemDesc, m => m.Description(ctx, target));