aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-07-02 15:52:05 +0200
committerGravatar kwzrd <[email protected]>2020-07-02 15:52:05 +0200
commitd2732ce299cf2071b92fdf0c1eecbb0f16f0afbd (patch)
tree457ad540c7359b3587f6f947242d8771a963ee09
parentIncidents: relay incidents as embeds rather than raw content (diff)
Incidents: trace-level log incident embed creation
-rw-r--r--bot/cogs/moderation/incidents.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/cogs/moderation/incidents.py b/bot/cogs/moderation/incidents.py
index 3a1a3d84e..8970c2c5c 100644
--- a/bot/cogs/moderation/incidents.py
+++ b/bot/cogs/moderation/incidents.py
@@ -54,6 +54,8 @@ def make_embed(incident: discord.Message, outcome: Signal, actioned_by: discord.
As mentions in embeds do not ping, we do not need to use `incident.clean_content`.
"""
+ log.trace(f"Creating embed for {incident.id=}")
+
if outcome is Signal.ACTIONED:
colour = Colours.soft_green
footer = f"Actioned by {actioned_by}"