blob: f3595eeaf1eb307ea336c2b9c58a17247b72eca5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# daft
YouTube playlist manager. Anyone can queue tracks; ops control playback.
Tracks are played via an external player (managed outside the bot).
## Dependencies
No external libraries required.
## Commands
### Queue (anyone in channel)
| Command | Description |
|---------|-------------|
| `!dj <youtube-url>` | Add a YouTube video to the queue |
| `!np` | Show the currently playing track |
| `!queue` | Show upcoming tracks |
Accepted URL formats: `youtube.com/watch?v=...`, `youtu.be/...`.
Shorts, embeds, and live streams are rejected.
Queue cap: 50 tracks.
### Playback (owner / op)
| Command | Description |
|---------|-------------|
| `!play` | Start or resume playback |
| `!stop` | Pause playback |
| `!skip` | Skip to the next track |
| `!remove` | Remove the current track from the queue |
| `!loop on\|off` | Toggle circular queue looping |
| `!clear` | Clear queue and stop playback |
### Admin (owner)
| Command | Description |
|---------|-------------|
| `!join #channel` | Join a channel |
| `!part [#channel]` | Leave a channel |
| `!chans` | List channels |
| `!help` | Show usage (PM) |
|