Skip to content

Commit 0268bea

Browse files
committed
This fixes the data for automod block logging
1 parent 647d260 commit 0268bea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/moderation/modlog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ async def on_automod_action(self: Self, execution: discord.AutoModAction) -> Non
420420
guild=rule.guild,
421421
member=member,
422422
reason=rule.name,
423-
data=f"**Violating name:** {member.display_name}",
423+
data=f"**Violating content:** {execution.content[:200]}",
424424
)
425425
else:
426426
await log_action(

0 commit comments

Comments
 (0)