Skip to content

Commit

Permalink
Don't run embed & forward data through passive list check at all
Browse files Browse the repository at this point in the history
  • Loading branch information
FloatingMilkshake committed Feb 11, 2025
1 parent beebc64 commit f972f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Events/MessageEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ await LogChannelHelper.LogMessageAsync("messages",
}
else
{
(bool success, string flaggedWord) = Checks.ListChecks.CheckForNaughtyWords(msgContentWithEmbedData.ToLower(), listItem);
(bool success, string flaggedWord) = Checks.ListChecks.CheckForNaughtyWords(message.Content.ToLower(), listItem);
if (success)
{
DiscordChannel logChannel = default;
Expand Down

0 comments on commit f972f4d

Please sign in to comment.