Skip to content

Role mentions in slash command interaction responses not working #5288

Description

@gc

Description

There was a change recently changing how webhooks/interaction responses permissions work, allowing them to have the permissions of the bot account, instead of the base/everyone permissions, and so be able to mention everyone/roles. So this issue is based on the assumption it was attempted to be fixed already.

After this change, I tested in every such way, trying to get this to work, and I cant get it to work. My goal was to ping a role with a slash interaction response.

  • Verified through app_permissions that I have both mention_everyone, and admin.
  • Passing allowed_mentions, trying both roles: [id] and the parse option.
  • Kicking the bot, reinviting with the right permissions, giving admin, giving all permissions, etc.

Several other users have come forward with the same issue, and I haven't been able to find anyone that can show they can get this to work.

Steps to Reproduce

Attempt to ping a specific role in a slash command interaction response, remembering to ensure you have the right permissions and pass allowed_mentions

Expected Behavior

The role should be pinged, because we have permission and are allowing the mention.

Current Behavior

Nothing is pinged.

Screenshots/Videos

unknown
unknown

Client and System Information

Stable 140091 (235bdc1)
Windows 10 64-Bit (10.0.19044)
My own library

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsyncedSynced to internal tracker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions