fix: show correct error in 'pk;debug proxy' when autoproxy is disabled for discord account

This commit is contained in:
spiral
2022-06-13 14:52:07 -04:00
parent b30e2a01e3
commit 9dd3fba7e6
3 changed files with 6 additions and 4 deletions

View File

@@ -178,8 +178,7 @@ public class MessageCreated: IEventHandler<MessageCreateEvent>
try
{
return await _proxy.HandleIncomingMessage(evt, ctx, guild, channel, ctx.AllowAutoproxy,
botPermissions);
return await _proxy.HandleIncomingMessage(evt, ctx, guild, channel, true, botPermissions);
}
// Catch any failed proxy checks so they get ignored in the global error handler