v1.0.0 #15

Merged
profitroll merged 53 commits from dev into main 2025-05-06 21:34:32 +03:00
Showing only changes of commit 2dac6a4714 - Show all commits

View File

@@ -59,7 +59,7 @@ class CogRegister(Cog):
f"You are now registered for the event **{pycord_event.name}**.\n\nNew channel will be created for you and further instructions will be provided as soon as the event starts <t:{get_unix_timestamp(pycord_event.starts)}:R>. Good luck!"
)
if pycord_event.starts < datetime.now(tz=ZoneInfo("UTC")):
if pycord_event.starts.replace(tzinfo=ZoneInfo("UTC")) < datetime.now(tz=ZoneInfo("UTC")):
await user.setup_event_channel(self.bot, ctx.guild, guild, event, cache=self.bot.cache)