diff --git a/discord/scheduled_event.py b/discord/scheduled_event.py index 1c32a4844..f7879e7b1 100644 --- a/discord/scheduled_event.py +++ b/discord/scheduled_event.py @@ -88,7 +88,7 @@ class ScheduledEvent(Hashable): The ID of the entity this event is for if available. start_time: :class:`datetime.datetime` The time that the scheduled event will start in UTC. - end_time: :class:`datetime.datetime` + end_time: Optional[:class:`datetime.datetime`] The time that the scheduled event will end in UTC. privacy_level: :class:`PrivacyLevel` The privacy level of the scheduled event. diff --git a/discord/types/scheduled_event.py b/discord/types/scheduled_event.py index f469165c7..e953a9ca2 100644 --- a/discord/types/scheduled_event.py +++ b/discord/types/scheduled_event.py @@ -75,7 +75,7 @@ class EntityMetadata(TypedDict): class ExternalScheduledEvent(_BaseGuildScheduledEvent): channel_id: Literal[None] entity_metadata: EntityMetadata - scheduled_end_time: Optional[str] + scheduled_end_time: str entity_type: Literal[3]