Fully documented and updated PycordEvent (#4)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user