From 565d166c68f8886c1e1d477680aed5ffe6ea2ae3 Mon Sep 17 00:00:00 2001 From: Ske Date: Tue, 4 Feb 2020 18:16:45 +0100 Subject: [PATCH] Add more aliases to proxy add/remove --- PluralKit.Bot/Commands/MemberProxy.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PluralKit.Bot/Commands/MemberProxy.cs b/PluralKit.Bot/Commands/MemberProxy.cs index 7ef64f51..f2f19eef 100644 --- a/PluralKit.Bot/Commands/MemberProxy.cs +++ b/PluralKit.Bot/Commands/MemberProxy.cs @@ -62,7 +62,7 @@ namespace PluralKit.Bot.Commands await ctx.Reply($"{Emojis.Success} Proxy tags cleared."); } // Subcommand: "add" - else if (ctx.Match("add")) + else if (ctx.Match("add", "append")) { if (!ctx.HasNext()) throw new PKSyntaxError("You must pass an example proxy to add (eg. `[text]` or `J:text`)."); @@ -82,7 +82,7 @@ namespace PluralKit.Bot.Commands await ctx.Reply($"{Emojis.Success} Added proxy tags `{tagToAdd.ProxyString.SanitizeMentions()}`."); } // Subcommand: "remove" - else if (ctx.Match("remove")) + else if (ctx.Match("remove", "delete")) { if (!ctx.HasNext()) throw new PKSyntaxError("You must pass a proxy tag to remove (eg. `[text]` or `J:text`).");