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

Adds nsfw_level field to invite example #4334

Merged
merged 6 commits into from
Feb 1, 2022
Merged

Conversation

Jupith
Copy link
Contributor

@Jupith Jupith commented Jan 12, 2022

Also would be good to know what the type property is, its being returned when fetching the guilds invites

@dolfies
Copy link

dolfies commented Jan 12, 2022

type is for the type of invite (guild, group dm, or friend)

docs/resources/Invite.md Outdated Show resolved Hide resolved
docs/resources/Invite.md Outdated Show resolved Hide resolved
Jupith and others added 3 commits January 12, 2022 18:57
Co-authored-by: Shubham Parihar <shubhamparihar391@gmail.com>
@Jupith Jupith changed the title Adds nsfw fields to example invite object Adds nsfw fields & type to invite objects Jan 12, 2022
@iShibi
Copy link
Contributor

iShibi commented Jan 12, 2022

Can you set this type field when creating an invite?

@Jupith
Copy link
Contributor Author

Jupith commented Jan 12, 2022

Can you set this type field when creating an invite?

Its tied to channel id your using when creating the invite link, being able to set it when creating would not make sense.

Copy link
Contributor

@InvalidLenni InvalidLenni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change link for example invite objects:

[invite](#DOCS_RESOURCES_INVITE)

@night night changed the title Adds nsfw fields & type to invite objects Adds nsfw_level field to invite example Feb 1, 2022
@night night merged commit 5a0b9f6 into discord:master Feb 1, 2022
@advaith1 advaith1 mentioned this pull request Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants