debug yay
This commit is contained in:
parent
fa8f3941b5
commit
37ee7ed044
|
@ -14,10 +14,12 @@ 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) => {
|
||||||
if(result)
|
e.reply(err);
|
||||||
e.reply(id + " is NSFW");
|
e.reply(result);
|
||||||
else
|
//if(result)
|
||||||
e.reply(id + " is SFW");
|
// e.reply(id + " is NSFW");
|
||||||
|
//else
|
||||||
|
// e.reply(id + " is SFW");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user