mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-30 19:38:28 +03:00
Clarify error message
This commit is contained in:
@@ -218,7 +218,7 @@ async function autoModerateSubmission(submission) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
if (nbDecision){
|
if (nbDecision){
|
||||||
return "NB disagreement.";
|
return "Rejected based on NeuralBlock predictions.";
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@@ -318,7 +318,7 @@ module.exports = async function postSkipSegments(req, res) {
|
|||||||
// Auto moderator check
|
// Auto moderator check
|
||||||
if (!isVIP) {
|
if (!isVIP) {
|
||||||
let autoModerateResult = await autoModerateSubmission({userID, videoID, segments});//startTime, endTime, category: segments[i].category});
|
let autoModerateResult = await autoModerateSubmission({userID, videoID, segments});//startTime, endTime, category: segments[i].category});
|
||||||
if (autoModerateResult == "NB disagreement."){
|
if (autoModerateResult == "Rejected based on NeuralBlock predictions."){
|
||||||
// If NB automod rejects, the submission will start with -2 votes.
|
// If NB automod rejects, the submission will start with -2 votes.
|
||||||
// Note, if one submission is bad all submissions will be affected.
|
// Note, if one submission is bad all submissions will be affected.
|
||||||
// However, this behavior is consistent with other automod functions
|
// However, this behavior is consistent with other automod functions
|
||||||
|
|||||||
Reference in New Issue
Block a user