diff options
Diffstat (limited to '')
| -rw-r--r-- | bot/cogs/moderation/scheduler.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/bot/cogs/moderation/scheduler.py b/bot/cogs/moderation/scheduler.py index 729763322..3e0968121 100644 --- a/bot/cogs/moderation/scheduler.py +++ b/bot/cogs/moderation/scheduler.py @@ -83,7 +83,7 @@ class InfractionScheduler(Scheduler):          infr_type = infraction["type"]          icon = utils.INFRACTION_ICONS[infr_type][0]          reason = infraction["reason"] -        expiry = time.get_duration_from_expiry(infraction["expires_at"]) +        expiry = time.format_infraction_with_duration(infraction["expires_at"])          id_ = infraction['id']          log.trace(f"Applying {infr_type} infraction #{id_} to {user}.") | 
