From cb13a55c0c2e391fbf569f54b02e8c63875bc657 Mon Sep 17 00:00:00 2001 From: Supositware Date: Fri, 7 Apr 2023 16:05:23 +0000 Subject: [PATCH] Play error video --- commands/fun/ytp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/ytp.js b/commands/fun/ytp.js index 0bc3f137..6b872c7e 100644 --- a/commands/fun/ytp.js +++ b/commands/fun/ytp.js @@ -75,7 +75,7 @@ export default { return interaction.reply({ content: 'Here is your YTP! Remember, it might contain nsfw, so be careful!', files: [`${os.tmpdir()}/${interaction.id}_YTP.mp4`] }) .catch(err => { console.error(err); - return interaction.reply('Whoops, look like the vid might be too big for discord, my bad, please try again'); + return interaction.reply({ files: [`./asset/ytp/error${Math.floor(Math.random() * 2) + 1}.mp4`] }); }); }) .catch(err => {