Skip to content

permissions field of resolved member from user option in slashcommand is missing some permissions if used as user-installable app #8044

@Qjuh

Description

@Qjuh

Description

When you use a slash command with a user option of a user-installed app and select a member having elevated permissions the resolved member in the interaction payload shows a wrong value in its permissions field.

From testing it seems that all permissions that would require MFA on the account (if needed by the guild) are not present on the string containing the permissions bitfield.

This does only happen if the app is not installed as bot on the guild. The permissions are also shown correctly if using a user context menu command on the respective user, but not in a user option of a slash command.

Steps to Reproduce

Use a slash command with a user option of a user-installed app and select a member having elevated permissions.
Notice that in the resolved member in the interaction payload it shows a value in its permissions field that is missing elevated permissions like Manage X or Administrator.

Expected Behavior

The permissions field matching the actual permissions of the member in the channel the command was used in or at least those on the guild level.

Current Behavior

Elevated permissions are missing from the bitfield.

Screenshots/Videos

No response

Client and System Information

Discord 308.1 (90154) - stable
iOS 26.1
Also confirmed to be the same on desktop (since this is not a client issue but about API payloads being wrong)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions