aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/moderation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/moderation.py b/bot/cogs/moderation.py
index 2b3a21dc9..e9d978de6 100644
--- a/bot/cogs/moderation.py
+++ b/bot/cogs/moderation.py
@@ -938,8 +938,8 @@ class Moderation(Scheduler, Cog):
self.schedule_task(loop, new_infraction['id'], new_infraction)
log_text += f"""
- Previous expiry: {old_infraction['expires_at']}
- New expiry: {new_infraction['expires_at']}
+ Previous expiry: {old_infraction['expires_at'] or "Permanent"}
+ New expiry: {new_infraction['expires_at'] or "Permanent"}
""".rstrip()
await ctx.send(f":ok_hand: Updated infraction: {' & '.join(confirm_messages)}")