Skip to content

Commit fe3d458

Browse files
Update src/main/java/net/javadiscord/javabot/systems/qotw/submissions/SubmissionManager.java
Co-authored-by: dan1st <daniel@wwwmaster.at>
1 parent d78afa6 commit fe3d458

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/javadiscord/javabot/systems/qotw/submissions/SubmissionManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public void acceptSubmission(InteractionHook hook, @NotNull ThreadChannel thread
181181
WebhookUtil.ensureWebhookExists(newestPost.getParentChannel().asForumChannel(), wh -> {
182182
if (message.getContentRaw().length() > 2000) {
183183
WebhookUtil.mirrorMessageToWebhook(wh, message, message.getContentRaw().substring(0, 2000), newestPost.getIdLong());
184-
WebhookUtil.mirrorMessageToWebhook(wh, message, message.getContentRaw().substring(2001), newestPost.getIdLong());
184+
WebhookUtil.mirrorMessageToWebhook(wh, message, message.getContentRaw().substring(2000), newestPost.getIdLong());
185185
} else {
186186
WebhookUtil.mirrorMessageToWebhook(wh, message, message.getContentRaw(), newestPost.getIdLong());
187187
}

0 commit comments

Comments
 (0)