mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
Fix scheduled event payload and docstring type
This commit is contained in:
parent
15885ea728
commit
9b65b5ce2e
@ -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.
|
||||
|
@ -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]
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user