forked from Supositware/Haha-Yes
revert some change
This commit is contained in:
parent
44962316bf
commit
32539b09da
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ class vidshittifierCommand extends Command {
|
|||
}
|
||||
|
||||
async exec(message, args) {
|
||||
let input = `${os.tmpdir()}/${message.id}`;
|
||||
let input = `${os.tmpdir()}/${message.id}.mp4`;
|
||||
let output = `${os.tmpdir()}/Shittifyed${message.id}.mp4`;
|
||||
let compression;
|
||||
if (args.compression == 1) {
|
||||
|
@ -67,7 +67,7 @@ class vidshittifierCommand extends Command {
|
|||
}
|
||||
|
||||
function shittifie() {
|
||||
exec(`ffmpeg -i ${input} ${option} -vcodec libx264 -r 15 -f mp4 ${output}`)
|
||||
exec(`ffmpeg -i ${input} ${option} -vcodec libx264 -r 15 ${output}`)
|
||||
.then(() => {
|
||||
loadingmsg.delete();
|
||||
message.delete();
|
||||
|
|
Loading…
Reference in a new issue