Browse Source

chore: Update `count` from API data

pull/9685/head
DA-344 5 months ago
parent
commit
4409dea433
  1. 1
      discord/scheduled_event.py

1
discord/scheduled_event.py

@ -237,6 +237,7 @@ class ScheduledEventRecurrenceRule:
interval=int(data['interval']), # type: ignore
)
self.end_date = end
self.count = data.get('count')
weekdays = data.get('by_weekday', MISSING) or MISSING
self._weekdays = weekdays

Loading…
Cancel
Save