mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
fix wrong context for OCR checks
This commit is contained in:
@@ -97,7 +97,7 @@ namespace CompatBot.EventHandlers
|
||||
foreach (var l in r.Lines)
|
||||
{
|
||||
Config.Log.Debug($"{prefix} {l.Text}");
|
||||
if (cnt && await ContentFilter.FindTriggerAsync(FilterContext.Log, l.Text).ConfigureAwait(false) is Piracystring hit)
|
||||
if (cnt && await ContentFilter.FindTriggerAsync(FilterContext.Chat, l.Text).ConfigureAwait(false) is Piracystring hit)
|
||||
{
|
||||
FilterAction suppressFlags = 0;
|
||||
if ("media".Equals(item.evt.Channel.Name))
|
||||
|
||||
Reference in New Issue
Block a user