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

improve suggestion for archived thread due to inactivity #957

Merged
merged 5 commits into from
Nov 22, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,14 @@ private void autoArchiveForThread(ThreadChannel threadChannel, Instant archiveAf
if (shouldBeArchived(threadChannel, archiveAfterMoment)) {
logger.debug("Auto archiving help thread {}", threadChannel.getId());

MessageEmbed embed = new EmbedBuilder().setDescription("""
Closed the thread due to inactivity.

If your question was not resolved yet, feel free to just post a message \
to reopen it, or create a new thread. But try to improve the quality of \
your question to make it easier to help you 👍""")
MessageEmbed embed = new EmbedBuilder().setDescription(
"""
Closed the thread due to inactivity.

If your question was not resolved yet, feel free to just post a message \
to reopen it, or create a new thread. But try to **improve the quality** of \
your question by adding more information such as relevant **code snippets**, **errors**, \
expected **results**, if required steps to reproduce the error for more precise help 👍""")
.setColor(HelpSystemHelper.AMBIENT_COLOR)
.build();

Expand Down
Loading