diff options
| -rw-r--r-- | bot/exts/moderation/infraction/superstarify.py | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/bot/exts/moderation/infraction/superstarify.py b/bot/exts/moderation/infraction/superstarify.py index 6fa0d550f..3d880dec3 100644 --- a/bot/exts/moderation/infraction/superstarify.py +++ b/bot/exts/moderation/infraction/superstarify.py @@ -136,8 +136,7 @@ class Superstarify(InfractionScheduler, Cog):              return          # Set the duration to 1 hour if none was provided -        if not duration: -            duration = datetime.datetime.now() + datetime.timedelta(hours=1) +        duration = duration or datetime.datetime.utcnow() + datetime.timedelta(hours=1)          # Post the infraction to the API          old_nick = member.display_name | 
