xD
This commit is contained in:
parent
6536bf72e0
commit
d6a140f055
|
@ -14,12 +14,10 @@ module.exports = (lib) => {
|
||||||
if(rows[0]) {
|
if(rows[0]) {
|
||||||
var filename = __dirname + "/../../" + rows[0].dest;
|
var filename = __dirname + "/../../" + rows[0].dest;
|
||||||
nudity.scanFile(filename, (err, result) => {
|
nudity.scanFile(filename, (err, result) => {
|
||||||
e.reply(err);
|
if(result)
|
||||||
e.reply(result);
|
e.reply(id + " is maybe SFW");
|
||||||
//if(result)
|
else
|
||||||
// e.reply(id + " is NSFW");
|
e.reply(id + " is NSFW");
|
||||||
//else
|
|
||||||
// e.reply(id + " is SFW");
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user