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

Unclear status of permissions

Open MinnDevelopment opened this issue 2 months ago • 2 comments

Description

The documentation includes 2 permissions that seem to be "unavailable to developers":

image

The relevant changelog implies there will be an update about this in the future:

We will share an update here when these new permissions are available in your apps.

What is the current status of these permissions? What does "unavailable" imply? Should libraries handle these permissions at all?

Steps to Reproduce

N/A

Expected Behavior

N/A

Current Behavior

N/A

Screenshots/Videos

No response

Client and System Information

N/A

MinnDevelopment avatar Apr 15 '24 15:04 MinnDevelopment

Currently the relevant endpoints require the CREATE_* permissions for users, but for bots the CREATE_* permissions do not apply and the MANAGE_* permissions are required instead.

For knowing what users can do, the CREATE_* permissions should be implemented, but for knowing what bots can do they should not be used currently.

advaith1 avatar Apr 15 '24 16:04 advaith1

@MinnDevelopment, great timing! I'm tracking this down this week, and we will have an update shortly.

As @advaith1 mentioned, the following note in the change log is still true but the plan is to make them available to devs soon.

These were rolled out in July 2023 to users and roles and have been added to our developer documentation but are not yet available to app developers.

colinloretz avatar Apr 15 '24 20:04 colinloretz