From 7179e2dd1b2310842990b568e511bdcd5fb360a4 Mon Sep 17 00:00:00 2001 From: spiral Date: Wed, 14 Jul 2021 20:50:06 -0400 Subject: [PATCH] remove incorrect command aliases --- PluralKit.Bot/Commands/CommandTree.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Commands/CommandTree.cs b/PluralKit.Bot/Commands/CommandTree.cs index 2509c118..19f31df2 100644 --- a/PluralKit.Bot/Commands/CommandTree.cs +++ b/PluralKit.Bot/Commands/CommandTree.cs @@ -186,7 +186,7 @@ namespace PluralKit.Bot else if (ctx.Match("commands")) return PrintCommandList(ctx, "channel blacklisting", BlacklistCommands); else return PrintCommandExpectedError(ctx, BlacklistCommands); - if (ctx.Match("proxy", "enable", "disable")) + if (ctx.Match("proxy")) return ctx.Execute(SystemProxy, m => m.SystemProxy(ctx)); if (ctx.Match("invite")) return ctx.Execute(Invite, m => m.Invite(ctx)); if (ctx.Match("mn")) return ctx.Execute(null, m => m.Mn(ctx));