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 closing of help posts #466

Merged
merged 1 commit into from
Dec 31, 2023
Merged

Conversation

danthe1st
Copy link
Member

A JDA update from 5.0.0.beta.15 to 5.0.0.beta.18 caused a regression resulting in the deleting the message of the Close post and Cancel Closing buttons throw an exception as these were deleting the message before acknowledging the interaction.

This PR uses deferEdit() for the Cancel Closing button and closes the help post (including closing and locking the forum post) which acknowledges the interaction before deleting the message with the button.

This issue is described in discord-jda/JDA#2590.

@danthe1st danthe1st requested a review from a team as a code owner December 31, 2023 15:28
@MoonTM-GIT MoonTM-GIT merged commit b1fd094 into Java-Discord:main Dec 31, 2023
1 check passed
@danthe1st danthe1st deleted the fix-close branch December 31, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants