Skip to content

Components V2 message and followup clarifications #7560

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

Merged
merged 2 commits into from
May 19, 2025

Conversation

anthonydiscord
Copy link
Contributor

@anthonydiscord anthonydiscord commented May 16, 2025

Adding a few pieces of info to clarify:

  • When you create a message with IS_COMPONENTS_V2 you can't downgrade that message
  • When responding to an interaction with DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE you can only use the IS_COMPONENTS_V2 flag on the followup message, not the ack

fixes #7515

@anthonydiscord anthonydiscord requested a review from a team as a code owner May 16, 2025 20:46
@anthonydiscord anthonydiscord requested review from colinloretz and infinitestory and removed request for a team May 16, 2025 20:46
@colinloretz colinloretz added the message components click click click click click click click label May 19, 2025
Copy link
Contributor

@colinloretz colinloretz left a comment

Choose a reason for hiding this comment

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

:shipit:

@anthonydiscord anthonydiscord merged commit a01324f into main May 19, 2025
4 checks passed
@anthonydiscord anthonydiscord deleted the anthony/cv2-interaction branch May 19, 2025 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
message components click click click click click click click
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot use Components V2 if you defer an interaction (you have to use undocumented API)
2 participants