Skip to content

Commit

Permalink
improve suggestion for archived thread due to inactivity
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitsmt211 committed Nov 20, 2023
1 parent 1d1f09a commit 47febae
Showing 1 changed file with 8 additions and 6 deletions.
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

0 comments on commit 47febae

Please sign in to comment.