Improved error handling on youtube.js

This commit is contained in:
Luquinhas 2025-01-10 09:21:37 -03:00
parent b4db2642fd
commit a36e1825b9
No known key found for this signature in database
GPG key ID: D9B075FC6DC93985
3 changed files with 9 additions and 2 deletions

View file

@ -77,7 +77,7 @@
"ytDownloadErr": "*Error during YT video download:*\n\n`{err}`",
"ytUploadLimit": "*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.*",
"ytUploadLimit2": "*This video had its quality reduced because it exceeded the 50MB limit for uploads imposed by Telegram.*",
"fileError": "Error uploading file",
"ytNoLink": "Please provide a link to a video to download.",
"botUpdated": "Bot updated with success.\n\n```{result}```",
"errorUpdatingBot": "Error updating bot\n\n{error}",
"catImgErr": "Sorry, but I couldn't get the cat photo you wanted.",