-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embeds do not show when using webhooks with ephemeral messages #2309
Comments
#2295 (comment) might be relevant here. |
Don't think so, since the API returns a message object without embeds, it's not just the client not rendering them |
As far as I'm aware, not being able to use embeds or attachments is intended |
The docs for |
I meant with ephemeral messages specifically. I remember someone saying they skipped out all the infrastructure that renders embeds/saves attachments and ships the message directly to the client |
Hmm ok, just confirmed same happens when you use the ChannelMessage response. I understand why attachments wouldn't be supported (they aren't documented under the callback data structure, unlike embeds), Nvm, this is the case |
This behavior is working as intended at present, as embeds go through a separate workflow ephemeral messages do not have the capability to (these are messages which are not persisted). You can voice your support for this at #2318 |
Description
When using responding to slash commands with an ACK (or ACK with source) and using a webhook with the interaction's token to respond, embeds are ignored by the API if the ephemeral message flag is set. If the flag is not set, embeds work fine.
Steps to Reproduce
POST to
https://discord.com/api/v8/webhooks/{bot_id}/{interaction_token}
withExpected Behavior
Embeds are not ignored by the API when using ephemeral messages
Current Behavior
The API responds with a HTTP 200 and a valid message object, but with
"embeds": []
. The message is shown as a blank message by the client, see the next section.Screenshots/Videos
Client and System Information
N/A, curl can be used to reproduce
The text was updated successfully, but these errors were encountered: