forked from Supositware/Haha-Yes
Forgot to make video max res be 480p
This commit is contained in:
parent
64c45f87c0
commit
126d29fdf9
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ export default {
|
||||||
return interaction.editReply('The file you are trying to convert is too big! Limit is 4 MB');
|
return interaction.editReply('The file you are trying to convert is too big! Limit is 4 MB');
|
||||||
};
|
};
|
||||||
|
|
||||||
utils.downloadVideo(url, interaction.id)
|
utils.downloadVideo(url, interaction.id, 'bestvideo[height<=?480]')
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
const file = fs.readdirSync(os.tmpdir()).filter(fn => fn.startsWith(interaction.id));
|
const file = fs.readdirSync(os.tmpdir()).filter(fn => fn.startsWith(interaction.id));
|
||||||
let output = `${os.tmpdir()}/${file}`;
|
let output = `${os.tmpdir()}/${file}`;
|
||||||
|
|
Loading…
Reference in a new issue