modified: src/trigger/parser.js

This commit is contained in:
Flummi 2016-10-21 01:06:06 +02:00
parent 347ffe28e3
commit a30b025fff

View File

@ -40,7 +40,7 @@ module.exports = (lib) => {
(cb.info.thumb !== null)?cb.info.thumb:''
]).on('result', (result) => {
lib.generateThumbs();
e.reply("https://f0ck.me/"+result.insertId+" - "+cb.info.title+" ("+cb.info.mime+", ~"+lib.formatSize(cb.size)+") from "+cbgu['nick']+" ("+cbgu['username']+"@"+cbgu['hostname']+")");
e.reply(cfg.url+"/"+result.insertId+" - "+cb.info.title+" ("+cb.info.mime+", ~"+lib.formatSize(cb.size)+") from "+cbgu['nick']+" ("+cbgu['username']+"@"+cbgu['hostname']+")");
}).on('error', (msg) => {
e.reply(msg);
});
@ -191,7 +191,7 @@ module.exports = (lib) => {
cb({ success: false, msg: 'lol, go f0ck yourself ('+mime+')' });
}
else
cb({ success: false, msg: 'repost motherf0cker: https://f0ck.me/'+cbcrcs });
cb({ success: false, msg: 'repost motherf0cker: '+cfg.url+'/'+cbcrcs });
});
});
}
@ -202,7 +202,7 @@ module.exports = (lib) => {
});
}
else
cb({ success: false, msg: 'repost motherf0cker: https://f0ck.me/'+cbcr });
cb({ success: false, msg: 'repost motherf0cker: '+cfg.url+'/'+cbcr });
});
};
};