Tweak documentation

This commit is contained in:
spiral
2020-11-20 20:26:34 -05:00
parent 8e5fb6520b
commit 68b439257d
2 changed files with 16 additions and 10 deletions

View File

@@ -174,6 +174,7 @@ namespace PluralKit.Bot
private async Task AutoproxyAccount(Context ctx)
{
// todo: this might be useful elsewhere, consider moving it to ctx.MatchToggle
if (ctx.Match("enable", "on"))
await AutoproxyEnableDisable(ctx, true);
else if (ctx.Match("disable", "off"))