-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat(invite): Guest invites #6247
base: main
Are you sure you want to change the base?
Conversation
@@ -348,7 +349,7 @@ A partial [guild](#DOCS_RESOURCES_GUILD/guild-object) object. Represents an Offl | |||
| nick? | ?string | this user's guild nickname | | |||
| avatar? | ?string | the member's [guild avatar hash](#DOCS_REFERENCE/image-formatting) | | |||
| roles | array of snowflakes | array of [role](#DOCS_TOPICS_PERMISSIONS/role-object) object ids | | |||
| joined_at | ISO8601 timestamp | when the user joined the guild | | |||
| joined_at | ?ISO8601 timestamp | when the user joined the guild | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a breaking change that will cause issues for bots, shouldn't this be part of a new api version?
Co-authored-by: Ruairi O hUanachain <[email protected]>
Need to build a Bot that can create Guest Invite, but seem the api blocked for Bot user 👀 Hope it will be documented soon:
Oh I figured it out, thanks!! |
Discord started sending null values for joined_at, probably due to discord/discord-api-docs#6247
Waiting for article.
Note: bots cannot create guest invites (for now, at least) unless they fake X-Super-Properties. If you attempt to pass flags in the payload, you'd get the
GUILD_INVITE_CANNOT_CREATE_GUEST_INVITE
(code 50035) error even if the server has necessary features.