Visitar URL original
fix typo in report sent to moderators message by HumbleSeer42 · Pull Request #561 · Java-Discord/JavaBot · GitHub
Skip to content
Merged
Changes from all 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 @@ -214,7 +214,7 @@ WebhookMessageCreateAction<Message> handleUserReport(InteractionHook hook, @NotN
}

private void sendReportResponse(InteractionHook hook, User targetUser, EmbedBuilder reportEmbed, ThreadChannel reportThread) {
reportEmbed.setDescription("Successfully reported " + "`" + UserUtils.getUserTag(targetUser) + "`!\nYour report has been send to our Moderators.\nIn case you want to supply additional details, please use the \"Create thread\" button below.");
reportEmbed.setDescription("Successfully reported " + "`" + UserUtils.getUserTag(targetUser) + "`!\nYour report has been sent to our Moderators.\nIn case you want to supply additional details, please use the \"Create thread\" button below.");
hook.sendMessageEmbeds(reportEmbed.build())
.addComponents(ActionRow.of(
Button.secondary(
Expand Down
Loading