aboutsummaryrefslogtreecommitdiffstats
path: root/docs/daft.md
diff options
context:
space:
mode:
authorAhmed <git@gumx.cc>2026-06-14 01:46:29 +0300
committerAhmed <git@gumx.cc>2026-06-14 01:46:29 +0300
commit5a8d568931d9b23ce0df1265d05259a7012081c9 (patch)
tree4ea19b8bb1763a38246f342f172c285f6579e09b /docs/daft.md
init: mostly vibed
Diffstat (limited to 'docs/daft.md')
-rw-r--r--docs/daft.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/daft.md b/docs/daft.md
new file mode 100644
index 0000000..f3595ee
--- /dev/null
+++ b/docs/daft.md
@@ -0,0 +1,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) |