From 6793c85593384beb19eccb4bcd72f74545081e0f Mon Sep 17 00:00:00 2001 From: Vegard Berg Date: Sat, 15 Oct 2022 21:16:03 +0200 Subject: [PATCH] Warn commands now logs warning issuer in admin channel --- heimdallr/commands/infractions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/heimdallr/commands/infractions.py b/heimdallr/commands/infractions.py index 5cae832..58a5899 100644 --- a/heimdallr/commands/infractions.py +++ b/heimdallr/commands/infractions.py @@ -234,6 +234,8 @@ class Infractions(Extension): description=f"{reason}", color=infraction_colour(0x0000FF), fields=[ + EmbedField("**Warned by**", + f"{ctx.author.display_name} ({ctx.author.username}#{ctx.author.discriminator})") ], ))