fix/feat: output real error in console only, add more yt logging, url validity checking

This commit is contained in:
Aidan 2025-06-22 16:50:45 -04:00
parent 16f777ac63
commit 8153ac2f33
3 changed files with 30 additions and 7 deletions

View file

@ -73,7 +73,7 @@
"uploadingVid": "*Uploading video...*",
"msgDesc": "{userMention}*, there is your downloaded video.*",
"downloadErr": "*Error during YT video download:*\n\n`{err}`",
"uploadErr": "Error uploading file. Please try again later.\n\n{error}",
"uploadErr": "Error uploading file. Please try again later.",
"uploadLimit": "*This video exceeds the 50 MB upload limit imposed by Telegram on our bot. Please try another video. We're doing our best to increase this limit.*",
"sizeLimitWarn": "*This video had its quality reduced because it exceeded the 50MB limit for uploads imposed by Telegram.*",
"noLink": "Please provide a link to a video to download."

View file

@ -73,7 +73,7 @@
"uploadingVid": "*Enviando vídeo...*",
"msgDesc": "{userMention}*, aqui está o seu vídeo baixado.*",
"downloadErr": "*Erro durante o download do vídeo do YT:*\n\n`{err}`",
"uploadErr": "Erro ao enviar o arquivo. Tente novamente mais tarde.\n\n{error}",
"uploadErr": "Erro ao enviar o arquivo. Tente novamente mais tarde.",
"uploadLimit": "*Este vídeo excede o limite de carregamento de 50 MB imposto pelo Telegram ao nosso bot. Por favor, tente outro vídeo. Estamos fazendo o possível para aumentar esse limite.*",
"sizeLimitWarn": "*Esse vídeo teve a qualidade reduzida por estar excedendo o limite de 50MB para uploads imposto pelo Telegram.*",
"noLink": "*Por favor, forneça um link de um vídeo para download.*"