This commit is contained in:
Flummi 2017-01-31 11:13:33 +01:00
parent 6536bf72e0
commit d6a140f055

View File

@ -14,12 +14,10 @@ module.exports = (lib) => {
if(rows[0]) {
var filename = __dirname + "/../../" + rows[0].dest;
nudity.scanFile(filename, (err, result) => {
e.reply(err);
e.reply(result);
//if(result)
// e.reply(id + " is NSFW");
//else
// e.reply(id + " is SFW");
if(result)
e.reply(id + " is maybe SFW");
else
e.reply(id + " is NSFW");
});
}
});