How to handle cancellations on individual reoccurring events?
I have a simple bot to clone events and announce them. a new partnership now uses reoccurring events, so i got to fix them today. I had to notice today tho that DJS does not handle cancellations of individual events, unless i don't quite understand how that works. So before I open up a feature request, I was curious, if i was missing something.
I tried checking for GuildScheduledEvent#isCanceled but that does not work and canceling the whole event calls a different event (guildScheduledEventDelete) and not guildScheduledEventUpdate.
But from what I can see on the GuildScheduledEvent - Structure in the docs it doesn't seem to have any fields related to these kinds of edge cases.
Source Code/Repo with relevant line: https://github.com/FlippedCodes/event-cloner/blob/975cb4aaf753d9db8b9bc95c44f7c723f36aa16e/index.js#L126
I tried checking for GuildScheduledEvent#isCanceled but that does not work and canceling the whole event calls a different event (guildScheduledEventDelete) and not guildScheduledEventUpdate.
But from what I can see on the GuildScheduledEvent - Structure in the docs it doesn't seem to have any fields related to these kinds of edge cases.
Source Code/Repo with relevant line: https://github.com/FlippedCodes/event-cloner/blob/975cb4aaf753d9db8b9bc95c44f7c723f36aa16e/index.js#L126
GitHub
This is a small utility bot that listens for events on a server to create and update them on other servers. - FlippedCodes/event-cloner