diff --git a/commands/fun/ytp.js b/commands/fun/ytp.js index 80cf187..de7d5b1 100644 --- a/commands/fun/ytp.js +++ b/commands/fun/ytp.js @@ -99,11 +99,11 @@ class ytpCommand extends Command { mp4.push(file); } }); - // Select random vid depending on the ammount of MAX_CLIPS + // Select random vid depending on the amount of MAX_CLIPS for (let i = 0; i < MAX_CLIPS; i++) { let random = Math.floor(Math.random() * files.length); let vid = `./asset/ytp/userVid/${files[random]}`; - if (files[random].endsWith('mp4') && !files[random].endsWith('temp.mp4')) { + if (files[random].endsWith('mp4')) { if (!asset.includes(vid)) { asset.push(vid); }