Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Doc94
Copy link
Member

@Doc94 Doc94 commented May 2, 2025

Description: This PR fix an issue where edit a reply or modify a webhook not handle the components v2, this was caused by a missing flags field not documented by discord in the release.

Justification: discord/discord-api-docs#7507

@Doc94 Doc94 added area/rest Related to the rest module: request-stream, routes, rest-api area/core Related to core module: events, entities, clients, specs labels May 2, 2025
@Doc94 Doc94 requested a review from Azn9 May 2, 2025 04:06
throw new IllegalArgumentException("Can't edit message with this webhook.");
}

boolean withComponents = !spec.components().isAbsent();
Copy link
Member Author

Choose a reason for hiding this comment

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

based in docs i need make rest run with the with_components for allow use this, for the interaction this param its not necesary

@Doc94 Doc94 added bug A general bug discord External issue caused by Discord labels May 3, 2025
@Doc94 Doc94 merged commit 5fcf3ef into Discord4J:3.2.x May 3, 2025
7 checks passed
@Doc94 Doc94 deleted the fix/missing-reply-cv2 branch May 3, 2025 04:50
Doc94 added a commit that referenced this pull request May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/core Related to core module: events, entities, clients, specs area/rest Related to the rest module: request-stream, routes, rest-api bug A general bug discord External issue caused by Discord

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant