Files
2026-11-16 21:37:42 +01:00

28 lines
738 B
Markdown

# DiscordBot
Discord music bot: plays audio from YouTube (URL or search terms) in a voice channel.
## Quick start
Requirements: Python 3.10+, `ffmpeg` on PATH.
```bash
python -m venv .venv && . .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env # fill in DISCORD_TOKEN
python bot.py
```
Create the bot at https://discord.com/developers/applications and invite it with the
`bot` and `applications.commands` scopes and the Connect + Speak permissions.
## Commands
| Command | Description |
|---|---|
| `/play <url or search>` | Play or queue a song |
| `/skip` | Skip the current song |
| `/pause`, `/resume` | Pause / resume |
| `/queue` | Show the queue |
| `/stop` | Clear the queue and leave the channel |