Simple Discord bot to take video URLs (passed via [prefix]v [url] (ex. ?v https://www.youtube.com/watch?v=dQw4w9WgXcQâ ), and send them in-line.
Should the video be too large to appear in-line (around 10MB), the bot will use ffmpeg to transcode the file to fit that limit.
By default the image will leverage QSV, so you will need to run this on compatible hardware, and ensure the container has access to your GPU of choice (usually via --device or similar)
You will need to create a Discord bot, and pass your bot's token to the container via the ENV DISCORD_BOT_TOKEN.
You may also need to create a cookies.txt (per https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlpâ â ), and mount this to the container from the host. There is a placeholder empty file in place here to avoid issues should you not provide your own file.
Content type
Image
Digest
sha256:051cd862eâŚ
Size
155.3 MB
Last updated
2 days ago
docker pull aephk/discord-bot