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: Make the followUp function error more clear #7129

Merged
merged 5 commits into from Dec 22, 2021
Merged

Conversation

RaZeSloth
Copy link
Contributor

@RaZeSloth RaZeSloth commented Dec 20, 2021

Please describe the changes this PR makes and why it should be merged:

If a followUp is called when no interaction is deferred or replied will give a better error than "Unknown Webhook"

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

Co-authored-by: D Trombett <maxtromb.dt@gmail.com>
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
Copy link
Member

@kyranet kyranet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once applied, it'll LGTM.

src/structures/interfaces/InteractionResponses.js Outdated Show resolved Hide resolved
@kyranet kyranet added this to the Version 13.4 milestone Dec 21, 2021
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

6 participants