debuggsen
This commit is contained in:
parent
d52e4249a1
commit
0331b53d76
|
@ -16,8 +16,10 @@ module.exports = (lib) => {
|
||||||
|
|
||||||
console.log( query );
|
console.log( query );
|
||||||
lib.sql.query(query, (err, rows, fields) => {
|
lib.sql.query(query, (err, rows, fields) => {
|
||||||
if(!err)
|
if(!err && rows.length > 0)
|
||||||
e.reply("f0ckrnd: "+lib.cfg.main.url+"/"+rows[0].id+" by: "+rows[0].username);
|
e.reply("f0ckrnd: "+lib.cfg.main.url+"/"+rows[0].id+" by: "+rows[0].username);
|
||||||
|
else
|
||||||
|
e.reply("nothing found, f0cker");
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
desc: 'Random-f0ck'
|
desc: 'Random-f0ck'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user