Fully documented and updated PycordEvent (#4)

This commit is contained in:
2025-04-27 17:41:14 +02:00
parent 638658af75
commit 12a88d5a23
5 changed files with 292 additions and 136 deletions

View File

@@ -242,8 +242,8 @@ class CogEvent(Cog):
await ctx.respond("Event was not found.")
return
starts_date: datetime = pycord_event.starts.replace(tzinfo=ZoneInfo("UTC"))
ends_date: datetime = pycord_event.ends.replace(tzinfo=ZoneInfo("UTC"))
starts_date: datetime = pycord_event.get_start_date_utc()
ends_date: datetime = pycord_event.get_end_date_utc()
stages: List[PycordEventStage] = await self.bot.get_event_stages(pycord_event)