Warn commands now logs warning issuer in admin channel

This commit is contained in:
Vegard Berg 2022-10-15 21:16:03 +02:00
parent 2c93e81be0
commit 6793c85593
Signed by: myrkvi
GPG Key ID: BFE35EA1A44D5E40
1 changed files with 2 additions and 0 deletions

View File

@ -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})")
],
))