discord-api-docs
discord-api-docs copied to clipboard
Add `INVITES_DISABLED` guild feature
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