diff --git a/src/trigger/f0ckrand.js b/src/trigger/f0ckrand.js index 2f813af..f905498 100644 --- a/src/trigger/f0ckrand.js +++ b/src/trigger/f0ckrand.js @@ -16,8 +16,10 @@ module.exports = (lib) => { console.log( query ); 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); + else + e.reply("nothing found, f0cker"); }); }, desc: 'Random-f0ck'