Skip to content

Commit 292b66e

Browse files
committed
small fix with extra space
1 parent ba086c3 commit 292b66e

File tree

1 file changed

+1
-1
lines changed
  • application/src/main/java/org/togetherjava/tjbot/features/moderation/scam

1 file changed

+1
-1
lines changed

application/src/main/java/org/togetherjava/tjbot/features/moderation/scam/ScamBlocker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ private void reportScamMessage(MessageReceivedEvent event, String reportTitle,
257257
.collect(Collectors.joining(", "));
258258
content += "%s(The message has %d attachment%s: %s)".formatted(
259259
content.isBlank() ? "" : "\n", attachments.size(),
260-
attachments.size() > 1 ? "s " : " ", attachmentInfo);
260+
attachments.size() > 1 ? "s " : "", attachmentInfo);
261261
}
262262
MessageEmbed embed = new EmbedBuilder().setDescription(content)
263263
.setTitle(reportTitle)

0 commit comments

Comments
 (0)