fix(download): support for yt-dlp cookies in media download

Introduces environment variable support for specifying yt-dlp cookies via file path or direct content for the media download command. Updates error handling to provide clearer messages when cookies are required and ensures temporary cookie files are cleaned up. Also updates .env.example and .gitignore to reflect these changes.
This commit is contained in:
neoarz
2025-10-03 12:49:50 -04:00
parent 85a43e66b0
commit 2c0b0afb39
3 changed files with 58 additions and 2 deletions

2
.gitignore vendored
View File

@@ -149,3 +149,5 @@ cython_debug/
# Log file
discord.log
cogs/media/files/