diff options
| -rw-r--r-- | bot/cogs/moderation.py | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/bot/cogs/moderation.py b/bot/cogs/moderation.py index e9d978de6..089642e1b 100644 --- a/bot/cogs/moderation.py +++ b/bot/cogs/moderation.py @@ -916,6 +916,8 @@ class Moderation(Scheduler, Cog):          elif expires_at is not None:              request_data['expires_at'] = expires_at.isoformat()              confirm_messages.append(f"set to expire on {expires_at.strftime('%c')}") +        else: +            confirm_messages.append("expiry unchanged")          if reason:              request_data['reason'] = reason @@ -924,6 +926,8 @@ class Moderation(Scheduler, Cog):                  Previous reason: {old_infraction['reason']}                  New reason: {reason}              """.rstrip() +        else: +            confirm_messages.append("reason unchanged")          # Update the infraction          new_infraction = await self.bot.api_client.patch(  |