mirror of
https://github.com/Dasemu/DiscordBot.git
synced 2026-11-26 15:26:11 +00:00
chore: import existing DiscordBot sources
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4db5e780cb
commit
7142152fbc
7 files changed
+263
No files matched your search
@@ -0,0 +1,27 @@
|
||||
# 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 |
|
||||
Reference in new issue
Block a user