Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying recurrence_rule.end returns "This field is not supported for recurring events." #7020

Closed
xPaw opened this issue Jul 20, 2024 · 1 comment
Labels

Comments

@xPaw
Copy link

xPaw commented Jul 20, 2024

Description

I want to simply create a daily recurring event that starts and ends at the same time as the scheduled_start_time/scheduled_end_time fields. (perhaps it would use these fields if I start/end are not specified inside of recurrence_rule)

Steps to Reproduce

Schedule an event using /guilds/{guild.id}/scheduled-events api.

Specify the recurrence_rule field (#6799), I've also looked at the discord code and it does have a end field in there too.

{
	"recurrence_rule":
	{
		"start": "2024-07-20T00:00:00Z",
		"end": "2024-07-27T00:00:00Z",
		"frequency": 3, // DAILY
		"interval": 1
	}
}

Expected Behavior

Ideally this field would be supported, otherwise the error should say which field is not supported.

Current Behavior

API returns "This field is not supported for recurring events." error

Also on the client side, if I create a recurring daily event with end: null, it allows viewing future events past the scheduled_end_time (see screenshot)

Screenshots/Videos

image

Client and System Information

@xPaw xPaw added the bug label Jul 20, 2024
@DV8FromTheWorld
Copy link
Member

DV8FromTheWorld commented Jul 31, 2024

Providing end when creating / editing the recurrence rule is currently not supported. In the future we'd like to allow this, but work around events is on pause right now.

Additionally, I recognize that a more granular error indicating what field is invalid would be better, but we aren't going to change this as this time.

Documentation around this entity and the current limitations placed on the system should be coming soon™️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
@xPaw @DV8FromTheWorld and others