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

@@ -268,8 +268,7 @@ public class Checks
try
{
_proxy.ShouldProxy(channel, msg, context);
_matcher.TryMatch(context, autoproxySettings, members, out var match, msg.Content, msg.Attachments.Length > 0,
context.AllowAutoproxy);
_matcher.TryMatch(context, autoproxySettings, members, out var match, msg.Content, msg.Attachments.Length > 0, true);
await ctx.Reply("I'm not sure why this message was not proxied, sorry.");
}