Cleanup
This commit is contained in:
parent
2c271c7f0c
commit
0f3f8dbf59
@ -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)});
|
||||
|
Loading…
x
Reference in New Issue
Block a user