mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-09 21:17:15 +03:00
Improve no segments error message
This commit is contained in:
@@ -297,6 +297,8 @@ module.exports = async function postSkipSegments(req, res) {
|
||||
res.status(403).send(
|
||||
"Request rejected by auto moderator: 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. "
|
||||
+ (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 enable in the options. " : "")
|
||||
+ "If you believe this is incorrect, please contact someone on Discord."
|
||||
);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user