muh
This commit is contained in:
parent
312d3f0769
commit
b7abae5f5e
|
@ -19,6 +19,7 @@ module.exports = (bot, trigger, lib) => {
|
||||||
lib.checkRepost(entry, (cbcr) => {
|
lib.checkRepost(entry, (cbcr) => {
|
||||||
if(cbcr) {
|
if(cbcr) {
|
||||||
ytdl.getInfo(entry, (err, info) => {
|
ytdl.getInfo(entry, (err, info) => {
|
||||||
|
if(!err) {
|
||||||
var title = info.title;
|
var title = info.title;
|
||||||
var dat = fs.createWriteStream('./b/'+tmpdest+'.webm');
|
var dat = fs.createWriteStream('./b/'+tmpdest+'.webm');
|
||||||
|
|
||||||
|
@ -79,6 +80,10 @@ module.exports = (bot, trigger, lib) => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
e.reply("f0ck GEMA");
|
||||||
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
e.reply('repost motherf0cker');
|
e.reply('repost motherf0cker');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user