discord-api-docs
discord-api-docs copied to clipboard
Acknowledged slash commands don't mention users
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
- Respond to a slash command with DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE
- 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
- 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.
Can reproduce, I have reported it in DDevs a few weeks ago but I have no news about this.
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.
Awww man this is still not fixed.