From 126d29fdf99256bd9f38ee6976aa13c7b24f3ed8 Mon Sep 17 00:00:00 2001 From: Supositware Date: Sat, 31 Aug 2024 14:53:39 +0200 Subject: [PATCH] Forgot to make video max res be 480p --- commands/utility/vid2gif.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/utility/vid2gif.js b/commands/utility/vid2gif.js index 5de58f4..fedbc3a 100644 --- a/commands/utility/vid2gif.js +++ b/commands/utility/vid2gif.js @@ -70,7 +70,7 @@ export default { 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 () => { const file = fs.readdirSync(os.tmpdir()).filter(fn => fn.startsWith(interaction.id)); let output = `${os.tmpdir()}/${file}`;