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

Acknowledged slash commands don't mention users

Open FireController1847 opened this issue 4 years ago • 3 comments

Description For many database-driven or computationally heavy slash commands, the documentation recommends we use DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE to acknowledge the command until we can respond. The problem with this is that being able to update a command comes with many limitations after acknowledging, since I believe Discord is considering it an "edit" or "followup" instead of the initial command. One of the limitations is the infamous edit-mention "bug" (is it a bug?). Even if you put users in the allowed mentions, when following-up or editing after acknowledging the command, the user is not mentioned in the followup/edit.

Steps to Reproduce

  1. Respond to a slash command with DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE
  2. Proceed to respond with a follow-up and/or edit with a user in the allowed mentions object and tagging that user in the content
  3. It doesn't mention

Expected Behavior I would expect it to continue mentioning the user, even though it may be considered an edit as far as the user is concerned it's a new message and should be treated as such.

Current Behavior It does not tag.

Screenshots/Videos

https://user-images.githubusercontent.com/16494272/139647381-114bd847-8031-41af-ac1a-cb661713c4ec.mp4

Client and System Information

  • Using DSharpPlus 4.2.0-nightly-01038 with DSharpPlus.SlashCommand package.
  • Using C# 5.
  • Client is on version Stable 103016.

FireController1847 avatar Nov 01 '21 09:11 FireController1847

Can reproduce, I have reported it in DDevs a few weeks ago but I have no news about this.

Koyamie avatar Nov 02 '21 02:11 Koyamie

Since reloading fixes the issue, this is a client bug which exists on all platforms except for Android.

I have reported this as a client bug a few days ago (Ticket #17811316), but the support agents really didn't seem like they wanted to help me.

joseywoermann avatar Nov 08 '21 20:11 joseywoermann

Awww man this is still not fixed.

daneyOwner avatar Nov 23 '23 17:11 daneyOwner