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

Ephemeral follow ups are documented as not manageable but apparently are. #4414

Closed
Koyamie opened this issue Jan 30, 2022 · 7 comments
Closed
Assignees
Labels

Comments

@Koyamie
Copy link

Koyamie commented Jan 30, 2022

Description

I have started creating a feature that use ephemeral follow up and I am editing the message successfully.
But when it comes to deleting it, I am receiving a Unknow Message error.

The API documentation says that ephemeral follow ups are not manageable Does not support ephemeral followups..

It would be nice to support deletion for ephemeral messages since editing works, and updating documentation about it.

Steps to Reproduce

  • Create a follow up message to an interaction and set it to ephemeral
  • Edit it: works fine
  • Delete it: doesn't work

Expected Behavior

  • Create a follow up message to an interaction and set it to ephemeral
  • Edit it: works fine
  • Delete it: works fine

Current Behavior

  • Create a follow up message to an interaction and set it to ephemeral
  • Edit it: works fine
  • Delete it: doesn't work

Screenshots/Videos

[NOT FOUND] DELETE /webhooks/678653022837932062/token/messages/937010884641972224
Code: 10008
DiscordAPIError: Unknown Message
    at RequestHandler.execute (/home/koyamie/koya.gg/interactions/node_modules/@discordjs/discord.js/packages/discord.js/src/rest/RequestHandler.js:370:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async RequestHandler.push (/home/koyamie/koya.gg/interactions/node_modules/@discordjs/discord.js/packages/discord.js/src/rest/RequestHandler.js:51:14)
    at async InteractionWebhook.deleteMessage (/home/koyamie/koya.gg/interactions/node_modules/@discordjs/discord.js/packages/discord.js/src/structures/Webhook.js:381:5)

Client and System Information

Discord.js custom fork
Canary 112632 (136e551) Host 1.0.43 Windows 10 64-Bit (10.0.19044)

@Koyamie Koyamie added the bug label Jan 30, 2022
@devsnek devsnek self-assigned this Feb 1, 2022
@A5rocks
Copy link
Contributor

A5rocks commented Feb 2, 2022

This is now documented: 547dc13

But deleting is still unsupported I presume.

@will421
Copy link

will421 commented Feb 26, 2022

Then reverted : 611180a

@advaith1
Copy link
Contributor

The ability to edit ephemeral followups was removed about a day ago

@lukellmann
Copy link
Contributor

So what is the long term plan for ephemeral followups? Will they never support getting, editing and deleting?
And does the same apply for ephemeral original responses?

@advaith1
Copy link
Contributor

Original responses support getting and editing, just not deleting unfortunately

@lukellmann
Copy link
Contributor

The ability to edit ephemeral followups was removed about a day ago

And what was the reason for this?

@onerandomusername
Copy link
Contributor

It seems like they were refactored over the past day and this ability was lost during that refactor.

image

https://canary.discord.com/channels/613425648685547541/788586647142793246/947230269134471198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants