From f6f5570d0cbb8f29b4aa34c586570a2a9634dbbc Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Sun, 11 Apr 2021 13:15:42 -0400 Subject: [PATCH] Improve auto mod reject message --- src/routes/postSkipSegments.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/postSkipSegments.ts b/src/routes/postSkipSegments.ts index ef58c45..262fde0 100644 --- a/src/routes/postSkipSegments.ts +++ b/src/routes/postSkipSegments.ts @@ -412,10 +412,10 @@ export async function postSkipSegments(req: Request, res: Response) { // TODO: Do something about the fradulent submission Logger.warn("Caught a no-segment submission. userID: '" + userID + "', videoID: '" + videoID + "', category: '" + segments[i].category + "'"); res.status(403).send( - "Request rejected by auto moderator: New submissions are not allowed for the following category: '" + "New submissions are not allowed for the following category: '" + segments[i].category + "'. A moderator has decided that no new segments are needed and that all current segments of this category are timed perfectly.\n\n " + (segments[i].category === "sponsor" ? "Maybe the segment you are submitting is a different category that you have not enabled and is not a sponsor. " + - "Categories that aren't sponsor, such as self-promotion can be enabled in the options.\n\n " : "") + "Categories that aren't sponsor, such as self-promotion can be enabled in the options.\n\n" : "") + "If you believe this is incorrect, please contact someone on discord.gg/SponsorBlock or matrix.to/#/+sponsorblock:ajay.app", ); return;