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): check if ephemeral message flag is used #10021

Conversation

sdanialraza
Copy link
Contributor

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

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

Copy link

vercel bot commented Dec 3, 2023

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

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) Visit Preview Dec 4, 2023 4:35pm
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview Dec 4, 2023 4:35pm

@sdanialraza sdanialraza force-pushed the fix/check-if-ephemeral-message-flag-is-used branch 2 times, most recently from e8a4e6c to 67360a9 Compare December 3, 2023 17:15
@sdanialraza sdanialraza marked this pull request as ready for review December 3, 2023 17:18
@sdanialraza sdanialraza requested a review from a team as a code owner December 3, 2023 17:18
Copy link
Member

@vladfrangu vladfrangu left a comment

Choose a reason for hiding this comment

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

deferReply needs this treatment too

@sdanialraza sdanialraza force-pushed the fix/check-if-ephemeral-message-flag-is-used branch from 67360a9 to d922e34 Compare December 4, 2023 16:33
@sdanialraza sdanialraza force-pushed the fix/check-if-ephemeral-message-flag-is-used branch from d922e34 to 94d6932 Compare December 4, 2023 16:35
Copy link
Member

@didinele didinele left a comment

Choose a reason for hiding this comment

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

You haven't addressed Vlad's comment

@vladfrangu
Copy link
Member

You haven't addressed Vlad's comment

Nothing to address haha, iirc deferReply doesnt support all flags

@sdanialraza
Copy link
Contributor Author

Yeah, it was addressed internally, there's no flags property for options in deferReply

@Jiralite Jiralite self-requested a review December 4, 2023 20:02
@Jiralite Jiralite removed the blocked label Dec 4, 2023
@kodiakhq kodiakhq bot merged commit 62e31cb into discordjs:main Dec 4, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
4 participants