Browse Source

Docstring fixes

pull/9685/head
Developer Anonymous 8 months ago
parent
commit
a1988ba0a7
  1. 4
      discord/scheduled_event.py

4
discord/scheduled_event.py

@ -391,7 +391,7 @@ class ScheduledEvent(Hashable):
.. versionadded:: 2.2 .. versionadded:: 2.2
location: Optional[:class:`str`] location: Optional[:class:`str`]
The location of the scheduled event. The location of the scheduled event.
recurrence_rule: Optional[:class:`.ScheduledEventRecurrence`] recurrence_rule: Optional[:class:`.ScheduledEventRecurrenceRule`]
The recurrence rule for this event, or ``None``. The recurrence rule for this event, or ``None``.
.. versionadded:: 2.5 .. versionadded:: 2.5
@ -742,7 +742,7 @@ class ScheduledEvent(Hashable):
Required if the entity type is :attr:`EntityType.external`. Required if the entity type is :attr:`EntityType.external`.
reason: Optional[:class:`str`] reason: Optional[:class:`str`]
The reason for editing the scheduled event. Shows up on the audit log. The reason for editing the scheduled event. Shows up on the audit log.
recurrence_rule: Optional[:class:`.ScheduledEventRecurrence`] recurrence_rule: Optional[:class:`.ScheduledEventRecurrenceRule`]
The recurrence rule this event will follow, or `None` to set it to a The recurrence rule this event will follow, or `None` to set it to a
one-time event. one-time event.

Loading…
Cancel
Save