diff --git a/trainerdex/discord_bot/modules/mod.py b/trainerdex/discord_bot/modules/mod.py index e7dbf25..ab935ec 100644 --- a/trainerdex/discord_bot/modules/mod.py +++ b/trainerdex/discord_bot/modules/mod.py @@ -1,8 +1,8 @@ from copy import deepcopy from datetime import datetime from decimal import Decimal -from zoneinfo import ZoneInfo from typing import Mapping, Optional +from zoneinfo import ZoneInfo import discord.errors from aiohttp import ClientResponseError diff --git a/trainerdex/discord_bot/utils/deadlines.py b/trainerdex/discord_bot/utils/deadlines.py index 4160637..0984660 100644 --- a/trainerdex/discord_bot/utils/deadlines.py +++ b/trainerdex/discord_bot/utils/deadlines.py @@ -6,7 +6,9 @@ from trainerdex.discord_bot.config import Config from trainerdex.discord_bot.datatypes import GuildConfig -SHUTDOWN_DATE = datetime.fromtimestamp(1704067199, tz=ZoneInfo("UTC")) # on second before midnight, same time used in Daves message +SHUTDOWN_DATE = datetime.fromtimestamp( + 1704067199, tz=ZoneInfo("UTC") +) # on second before midnight, same time used in Daves message async def get_last_deadline(