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

Missing documentation for recurrence_rule in Guild Scheduled Event #6799

Open
fbrettnich opened this issue Apr 14, 2024 · 0 comments
Open

Missing documentation for recurrence_rule in Guild Scheduled Event #6799

fbrettnich opened this issue Apr 14, 2024 · 0 comments
Labels
bug documentation synced Synced to internal tracker

Comments

@fbrettnich
Copy link
Contributor

Description

The field recurrence_rule for recurring guild events is not documented in the Guild Scheduled Event Structure.

Steps to Reproduce

  1. Create a recurring event on a guild

image

  1. Get the event/all events of the guild
curl --location 'https://discord.com/api/v10/guilds/:guild_id/scheduled-events' \
--header 'Accept: application/json' \
--header 'Authorization: Bot <Bot Token>'
  1. See the new recurrence_rule field

Example for "Every weekday (Monday to Friday)":

[
    {
        "recurrence_rule": {
            "start": "2024-04-15T00:00:00+00:00",
            "end": null,
            "frequency": 3,
            "interval": 1,
            "by_weekday": [
                0,
                1,
                2,
                3,
                4
            ],
            "by_n_weekday": null,
            "by_month": null,
            "by_month_day": null,
            "by_year_day": null,
            "count": null
        },
        [...]
    }
]

Expected Behavior

The recurrence_rule field is documented

Current Behavior

The recurrence_rule field is not yet documented

Screenshots/Videos

No response

Client and System Information

canary 284451 (510650d)

@fbrettnich fbrettnich added the bug label Apr 14, 2024
@lmle lmle added documentation synced Synced to internal tracker labels Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug documentation synced Synced to internal tracker
Projects
None yet
Development

No branches or pull requests

2 participants