This commit is contained in:
Flummi 2016-08-30 21:57:09 +00:00
parent 312d3f0769
commit b7abae5f5e

View File

@ -19,6 +19,7 @@ module.exports = (bot, trigger, lib) => {
lib.checkRepost(entry, (cbcr) => {
if(cbcr) {
ytdl.getInfo(entry, (err, info) => {
if(!err) {
var title = info.title;
var dat = fs.createWriteStream('./b/'+tmpdest+'.webm');
@ -79,6 +80,10 @@ module.exports = (bot, trigger, lib) => {
});
});
}
else {
e.reply("f0ck GEMA");
}
}
else
e.reply('repost motherf0cker');
});