diff options
author | 2021-06-10 14:59:48 +0200 | |
---|---|---|
committer | 2021-06-10 14:59:48 +0200 | |
commit | 1d7527f501f81a826c16e3024ac1f90c7ee7e6bc (patch) | |
tree | 8cc6f9e760bae278847beb12f8aa456ce52ae888 | |
parent | Merge pull request #1623 from python-discord/new_zapped_formats (diff) |
Infraction: DM mention that the expiration is in UTC time
We have a few users DMing ModMail to ask why they haven't been unmuted and their mute should have expired. Most of the time it is simply that they forgot to convert their local time to UTC time. This can hopefully avoid some of those instances.
-rw-r--r-- | bot/exts/moderation/infraction/_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/infraction/_utils.py b/bot/exts/moderation/infraction/_utils.py index a98b4828b..e4eb7f79c 100644 --- a/bot/exts/moderation/infraction/_utils.py +++ b/bot/exts/moderation/infraction/_utils.py @@ -164,7 +164,7 @@ async def notify_infraction( text = INFRACTION_DESCRIPTION_TEMPLATE.format( type=infr_type.title(), - expires=expires_at or "N/A", + expires=f"{expires_at} UTC" if expires_at else "N/A", reason=reason or "No reason provided." ) |