Add disabling autoproxy per-account

This commit is contained in:
spiral
2020-11-20 18:34:08 -05:00
parent 41247c68a6
commit 37294b68da
8 changed files with 98 additions and 5 deletions

View File

@@ -137,7 +137,7 @@ namespace PluralKit.Bot
{
try
{
return await _proxy.HandleIncomingMessage(shard, evt.Message, ctx, allowAutoproxy: true);
return await _proxy.HandleIncomingMessage(shard, evt.Message, ctx, allowAutoproxy: ctx.AllowAutoproxy);
}
catch (PKError e)
{