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

fix(InteractionResponses): throw error on deleting response of unacknowledged interaction #10587

Merged
merged 2 commits into from
Nov 11, 2024

Conversation

imnaiyar
Copy link
Contributor

@imnaiyar imnaiyar commented Nov 1, 2024

Please describe the changes this PR makes and why it should be merged:
Currently no check is done when calling deleteReply(), similar to editReply(), followUp(), you cannot delete an interaction response if the interaction is not acknowledged first, this leads to getting Unknown Webhook error.

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

@imnaiyar imnaiyar requested a review from a team as a code owner November 1, 2024 15:52
Copy link

vercel bot commented Nov 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) Visit Preview Nov 11, 2024 3:44pm
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview Nov 11, 2024 3:44pm

@Jiralite Jiralite added this to the discord.js 15.0.0 milestone Nov 11, 2024
@kodiakhq kodiakhq bot merged commit b8f5a68 into discordjs:main Nov 11, 2024
7 checks passed
Jiralite pushed a commit that referenced this pull request Nov 11, 2024
…owledged interaction (#10587)

fix: error on deleting response of non-acknowledged interaction

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants