A high-performance Discord music bot built for simplicity. Uses native direct streaming via yt-dlp and FFmpeg — no Lavalink, no external audio servers, no disk overhead.
- 🇸🇦 Saudi Najdi Arabic Personality — All commands and responses are in fluent Saudi Najdi Arabic (اللهجة النجدية). The bot talks like a local, not a machine.
- 🚀 Native Direct Streaming — Near-instant playback: a
yt-dlpsubprocess pipes audio straight into FFmpeg (noFFmpegPCMAudio, no stale URL 403s). Zero disk writes. - 📋 Full Queue Management — Play, pause, resume, skip, stop, shuffle, loop, and view the queue.
- 🔊 Volume Control — Adjust playback volume per server (0–100%).
- 🔋 Smart Idle Detection — Automatically disconnects after 5 minutes of inactivity to save resources.
- 🎧 High Fidelity — Fetches the best available audio quality via
yt-dlp. - 🆓 Free & Open Source — No paywalls, no premium tiers.
- Language: Python 3.12+
- Library: discord.py 2.7.1
- Audio Extraction: yt-dlp
- Media Engine: FFmpeg (Direct Streaming)
- Environment: python-dotenv
Python 3.12+ and FFmpeg:
sudo apt update
sudo apt install python3.12 python3.12-venv ffmpeggit clone https://github.com/Fahad-BA/DiscordBot.git
cd DiscordBot
python3.12 -m venv venv
source venv/bin/activate
pip install -r requirements.txtCreate a .env file in the root directory:
DISCORD_TOKEN=your_token_heresource venv/bin/activate
python bot.py| Command | Description |
|---|---|
/play [url or name] |
Play a track from a link or search by name |
/pause |
Pause the currently playing track |
/resume |
Resume the paused track |
/skip |
Skip the current track |
/stop |
Stop all playback and clear the queue |
/queue |
View the upcoming tracks in the queue |
/nowplaying |
Show the currently playing track |
/volume [0-100] |
Change the playback volume level |
/loop |
Toggle repeat mode for the current track |
/shuffle |
Randomize the order of the queue |
/disconnect |
Disconnect the bot from the voice channel |
/help |
Show the full list of available commands |
- Website: fhidan.com/simon
- Invite Bot: Add Simon FM to your server
- Terms of Service: tos.html
- Privacy Policy: privacy.html
Distributed under the MIT License. See LICENSE for more information.
Built with ❤️ in Riyadh.