Skip to content

Commit e1f7aac

Browse files
Fixed notification-wording²
1 parent 970477e commit e1f7aac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/javadiscord/javabot/systems/notification/QOTWGuildNotificationService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void sendSubmissionActionNotification(User reviewedBy, @NotNull QOTWSubmi
4444
private @NotNull MessageEmbed buildSubmissionActionEmbed(@NotNull User author, ThreadChannel thread, @NotNull User reviewedBy, @NotNull SubmissionStatus status) {
4545
EmbedBuilder builder = new EmbedBuilder()
4646
.setAuthor(reviewedBy.getAsTag(), null, reviewedBy.getEffectiveAvatarUrl())
47-
.setTitle(String.format("%s %s %s's QOTW Submission", reviewedBy.getAsTag(), status.name().toLowerCase(), author.getAsTag()))
47+
.setTitle(String.format("%s %s %s's QOTW Submission", reviewedBy.getAsTag(), status.getVerb(), author.getAsTag()))
4848
.setTimestamp(Instant.now());
4949
if (thread != null) {
5050
builder.addField("Thread", thread.getAsMention(), true);

0 commit comments

Comments
 (0)