Skip to content

Commit 0553231

Browse files
Use title instead of description
1 parent 2a11435 commit 0553231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/javadiscord/javabot/systems/qotw/commands/view/QOTWListAnswersSubcommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void execute(@NotNull SlashCommandInteractionEvent event) {
6060
DbActions.doAsyncDaoAction(QOTWSubmissionRepository::new, repo -> {
6161
List<QOTWSubmission> submissions = repo.getSubmissionsByQuestionNumber(event.getGuild().getIdLong(), questionNum);
6262
EmbedBuilder eb = new EmbedBuilder()
63-
.setDescription("Answers of **Question of the Week #" + questionNum + "**\n")
63+
.setTitle("Answers of Question of the Week #" + questionNum)
6464
.setColor(Responses.Type.DEFAULT.getColor())
6565
.setFooter("Results may not be accurate due to historic data.");
6666
TextChannel submissionChannel = Bot.getConfig().get(event.getGuild()).getQotwConfig().getSubmissionChannel();

0 commit comments

Comments
 (0)