Skip to content
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

Editing a deferred response to a message containing an attachment doesn't work #2734

Closed
advaith1 opened this issue Mar 24, 2021 · 1 comment

Comments

@advaith1
Copy link
Member

Description
After sending a deferred interaction response, editing it to a message with an attachment or sending a followup with an attachment (which replaces the Thinking message) does not show the attachment.

Untouched code which used to show the attachment properly in a followup now does not show the attachment.

Sending a type 4 response and then sending a followup with an attachment does show the attachment.

Steps to Reproduce

  • Send a deferred interaction response
  • use Edit Original Interaction Response or send a followup including an attachment

Expected Behavior
the attachment is shown

Current Behavior
it is not; it actually seems to be added but then removed

Screenshots/Videos
Adding an embed that contains an attached image
Gateway logs:
image
(only one edit is done by the bot, which is adding the embed with the image)

Client and System Information
Client:
Canary 80356 (1890cdf)
Host 1.0.28
Windows 10 64-Bit (10.0.21337)

Sending with discord.js PR discordjs/discord.js#5223

@devsnek
Copy link
Contributor

devsnek commented Mar 25, 2021

This will be fixed in the next api deploy

@devsnek devsnek closed this as completed Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants