-
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
Add INVITES_DISABLED
guild feature
#5269
Conversation
Is there any documentation on how this behavior will work when this feature is enabled? |
You'll still be able to fetch all invites, aswell as create them, just users trying to join via them will get an error. |
Does that also affect joining via discovery and lurking (or possibly even OAuth guilds.join) or is it purely restricted to invites? |
It effects discovery yes, not sure about the scope. |
Is it intentional that there is no audit log entry for disabling invites? |
I believe this is just an experiment right now |
it is out to all community servers as of today |
The internal API validation for setting this feature is a bit incorrect, and I've just created 6 public update webhooks when setting BOTH community and invites_disabled features in the same api request. The backend creates the public update webhook but errors with a 403 on the invites_disabled feature as the community feature wasn't initally set. This in turn doesn't remove the public_updates webhook but doesn't save it as the webhook, either. Then another webhook is created on the next request (while debugging) and now I have six phantom webhooks. Additionally, this feature can be set when disabling community which maybe be an additional bug which may or may not be related. I'll create an issue for this since that would likely be easier to track. |
Is it known if this has fully rolled out yet? |
the feature is still being refined, but we should be good to publish the documentation at this point |
Co-Authored-By: Shay DeWael <3411005+shaydewael@users.noreply.github.com>
Discord has added a new guild feature, which when enabled pauses all invites, preventing new users from joining. Reference: discord/discord-api-docs#5269
* InvitesDisabled: discord/discord-api-docs#5269 * DeveloperSupportServer: discord/discord-api-docs#5572 * ApplicationCommandPermissionsV2: discord/discord-api-docs#5649
The added GuildFeatures are: * InvitesDisabled: discord/discord-api-docs#5269 * DeveloperSupportServer: discord/discord-api-docs#5572 * ApplicationCommandPermissionsV2: discord/discord-api-docs#5649 Editing GuildFeatures can for example be used to pause invites: guild.edit { features = guild.features + GuildFeature.InvitesDisabled }
No description provided.