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 pinning of QOTW answer posts #468

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

danthe1st
Copy link
Member

Discord does not allow multiple posts in a single forum channel to be pinned resulting in an exception when the QOTW answer post is created and pinned causing the old post to stay pinned while the new post doesn't become pinned.

This PR unpins the previous QOTW answer post (if one is pinned) before pinning the new one.

@danthe1st danthe1st requested a review from a team as a code owner January 1, 2024 13:04
@danthe1st danthe1st changed the title fix pinning of QOTW fix pinning of QOTW answer posts Jan 1, 2024
@MoonTM-GIT MoonTM-GIT merged commit 25a04d4 into Java-Discord:main Jan 26, 2024
1 check passed
@danthe1st danthe1st deleted the pin-qotw-answer-forum branch January 26, 2024 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants