From b0ae2d3b20f1a61157603440f33f89da9300720c Mon Sep 17 00:00:00 2001 From: Connor Brennan <42980947+ConnorBrennan@users.noreply.github.com> Date: Thu, 11 May 2023 20:46:46 -0600 Subject: [PATCH] feat(bot): standardize description aliases, new server tag alias (#551) --- 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 e35f5919..6570ded5 100644 --- a/PluralKit.Bot/CommandMeta/CommandTree.cs +++ b/PluralKit.Bot/CommandMeta/CommandTree.cs @@ -222,9 +222,9 @@ public partial class CommandTree await ctx.CheckSystem(target).Execute(SystemRename, m => m.Name(ctx, target)); else if (ctx.Match("tag", "t")) await ctx.CheckSystem(target).Execute(SystemTag, m => m.Tag(ctx, target)); - else if (ctx.Match("servertag", "st")) + else if (ctx.Match("servertag", "st", "stag", "deer")) await ctx.CheckSystem(target).Execute(SystemServerTag, m => m.ServerTag(ctx, target)); - else if (ctx.Match("description", "desc", "bio")) + else if (ctx.Match("description", "desc", "bio", "info", "text")) await ctx.CheckSystem(target).Execute(SystemDesc, m => m.Description(ctx, target)); else if (ctx.Match("pronouns", "prns")) await ctx.CheckSystem(target).Execute(SystemPronouns, m => m.Pronouns(ctx, target));