discord.py icon indicating copy to clipboard operation
discord.py copied to clipboard

ScheduledEvent dont't update repeatable events

Open Komoraa opened this issue 10 months ago • 5 comments

Summary

When i change date of repeatable event guild.fetch_scheduled_events() its still return old date

Reproduction Steps

I just fetch data using await guild.fetch_scheduled_events() and return its using event.start_time

Minimal Reproducible Code


Expected Results

Updated date info.

Actual Results

Outdated date info.

Intents

intents = discord.Intents.default() intents.message_content = True intents.guild_scheduled_events = True

System Information

  • Python v3.13.1-final
  • discord.py v2.4.0-final
  • aiohttp v3.11.11

Checklist

  • [x] I have searched the open issues for duplicates.
  • [x] I have shown the entire traceback, if possible.
  • [x] I have removed my token from display, if visible.

Additional Context

No response

Komoraa avatar Feb 24 '25 13:02 Komoraa

~~This looks like a Discord API side issue, could you share the code you used to reproduce this?~~

DA-344 avatar Feb 24 '25 15:02 DA-344

This is because the scheduled event object will always have the recurring date. When you edit the date for one recurrence, it creates something called a scheduled event exception, which isn't implemented yet

dolfies avatar Feb 24 '25 15:02 dolfies

Are recurring scheduled events supported at all?

Looking at the discord API (https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event) there is a field called 'recurrence_rule'.

This field is not present in the discordpy API at all:

https://discordpy.readthedocs.io/en/latest/api.html?highlight=scheduled#discord.ScheduledEvent

0Ry5 avatar Apr 11 '25 18:04 0Ry5

which isn't implemented yet

DA-344 avatar Apr 11 '25 18:04 DA-344

@DA-344 Just found your PR ^^ You mind if I try it out?

0Ry5 avatar Apr 11 '25 18:04 0Ry5