From f610f883511d8356c74a4259d82da2da37b8d695 Mon Sep 17 00:00:00 2001 From: Ske Date: Sat, 28 Dec 2019 12:12:22 +0100 Subject: [PATCH] Add more aliases for enabling/disabling proxying --- PluralKit.Bot/Commands/CommandTree.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PluralKit.Bot/Commands/CommandTree.cs b/PluralKit.Bot/Commands/CommandTree.cs index b2128bb2..c83fce6d 100644 --- a/PluralKit.Bot/Commands/CommandTree.cs +++ b/PluralKit.Bot/Commands/CommandTree.cs @@ -121,6 +121,8 @@ namespace PluralKit.Bot.Commands else if (ctx.Match("disable", "off", "remove", "allow")) return ctx.Execute(BlacklistRemove, m => m.SetBlacklisted(ctx, false)); else return PrintCommandExpectedError(ctx, BlacklistAdd, BlacklistRemove); + if (ctx.Match("proxy", "enable", "disable")) + 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)); if (ctx.Match("fire")) return ctx.Execute(null, m => m.Fire(ctx));