diff --git a/config.js b/config.js index 7abb6eb..ec43835 100644 --- a/config.js +++ b/config.js @@ -89,7 +89,7 @@ module.exports = function(){ return bot.telegram.getFileLink(id).then(link=>{ const file = "/tmp/"+id+"."+vid; - download((link,file),function(){ + download(link,file,function(){ rev.reverse(file).then(res=>{ return event.replyWithVideo({source: res.path}); }).catch(err=>{bot.error(err)});