diff --git a/Discord/bot.py b/Discord/bot.py index a51ffb4e7c..4d6033c91d 100644 --- a/Discord/bot.py +++ b/Discord/bot.py @@ -1298,7 +1298,7 @@ async def restart_tasks(self, channel_id, message_id): async def shutdown_tasks(self): # Save uptime - now = datetime.datetime.now(datetime.timezone.utc) + now = datetime.datetime.now(datetime.UTC) uptime = now - self.online_time with contextlib.suppress(asyncpg.UndefinedTableError): # Table might not have been created yet for CI