discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Add `INVITES_DISABLED` guild feature

Open advaith1 opened this issue 1 year ago • 0 comments

advaith1 avatar Aug 03 '22 08:08 advaith1

Is there any documentation on how this behavior will work when this feature is enabled?

onerandomusername avatar Aug 13 '22 05:08 onerandomusername

You'll still be able to fetch all invites, aswell as create them, just users trying to join via them will get an error.

Jupith avatar Aug 13 '22 05:08 Jupith

Does that also affect joining via discovery and lurking (or possibly even OAuth guilds.join) or is it purely restricted to invites?

wasdennnoch avatar Aug 13 '22 07:08 wasdennnoch

It effects discovery yes, not sure about the scope.

Jupith avatar Aug 14 '22 16:08 Jupith

Is it intentional that there is no audit log entry for disabling invites?

MinnDevelopment avatar Aug 24 '22 14:08 MinnDevelopment

I believe this is just an experiment right now

shaydewael avatar Aug 27 '22 00:08 shaydewael

it is out to all community servers as of today

advaith1 avatar Aug 27 '22 00:08 advaith1

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.

onerandomusername avatar Aug 27 '22 19:08 onerandomusername

Is it known if this has fully rolled out yet?

onerandomusername avatar Sep 07 '22 06:09 onerandomusername

the feature is still being refined, but we should be good to publish the documentation at this point

shaydewael avatar Sep 07 '22 22:09 shaydewael