A tiny Discord bot that fixes embeds & video players for media.discordapp.net URLs by redirecting them to the Discord CDN.
Discord has this really annoying issue where if you copy the link of some particular videos, the resulting URL is addressed at media.discordapp.net
instead of cdn.discordapp.com
, and as a result the video does not play.
This is a simple Discord bot that fixes the URL and replies with the fixed link, so the video can be viewed without the user having to manipulate the link.
You can self-host the bot if you want, it's just one program file after all. Edit the config.json
file created on startup and paste your bot token there. You can get a bot token at the Discord Developer Portal.
Happy hosting!