A Discord bot that extracts and displays useful information from social media URLs posted in chat.
Production Ready (Active Use)
⚠️ Currently, only YouTube URLs and Spotify Track URLs are fully supported. Support for additional platforms is planned.
- Detects social media URLs in messages
- Extracts metadata from supported links
- Displays clean, readable info directly in Discord
-
YouTube (Fully Supported)
- Video title
- Channel name
- View count
- Upload date
- TikTok
- Twitter / X
- Spotify
git clone https://github.com/yourusername/your-repo-name.git
cd your-repo-namepip install -r requirements.txtCreate a .env file in the root directory:
DISCORD_TOKEN=your_discord_bot_token
YOUTUBE_API=your_youtube_api_keypython main.pyOnce started, the bot will automatically monitor messages for supported URLs.
Simply send a YouTube link in any channel the bot has access to.
Example:
https://www.youtube.com/watch?v=dQw4w9WgXcQ
The bot will respond with extracted video information.
- Python
- discord.py
- YouTube Data API v3
- dotenv
- Only YouTube URLs are currently processed
- Requires a valid YouTube API key
- Rate limits depend on API usage
Pull requests are welcome. If you want to add support for more platforms, feel free to fork the repo and submit changes.
GNU LICENSE 3.0
This bot is actively used in production environments, but still under continuous development. Expect improvements and new platform support over time.