Skip to content

Conversation

@danthe1st
Copy link
Member

@danthe1st danthe1st commented Aug 28, 2023

The bot responds to message links with the content of the linked message.
However, this works only if the message link is sent in a text channel and not in threads.
This PR fixes the message link handler to also work in threads and forum posts.

Furthermore, it allows to use the /embed create command to be used with threads/forum posts as well as this command would not find the channel in that case and display an error after sending the modal.
Other /embed commands worked already.

The checkstyle issues in HugListener aren't not caused by this PR and should be fixed in #429.
(They were introduced by merging #428)

@danthe1st danthe1st requested a review from a team as a code owner August 28, 2023 10:49
@MoonTM-GIT MoonTM-GIT merged commit 29fa56e into Java-Discord:main Sep 18, 2023
@danthe1st danthe1st deleted the threaded-links branch September 18, 2023 10:11
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.

3 participants