A simple selfhosted Discord music bot built with C# and .NET 9.0 that plays music from YouTube. No fancy features, just straightforward music playback, autoplaylists and queue system.
Features inspired by https://github.com/Just-Some-Bots/MusicBot
docker run -d \
--name musicbro \
-e DISCORD_TOKEN=YOUR_BOT_TOKEN \
-e DISCORD_PREFIX=. \
-v /mnt/docker/musicbro/autoplaylists:/app/autoplaylists \
-v /mnt/docker/musicbro/downloads:/app/downloads \
kildahldev/musicbro:latest
version: '3.8'
services:
musicbro:
image: kildahldev/musicbro:latest
container_name: musicbro
restart: unless-stopped
environment:
- DISCORD_TOKEN=${DISCORD_TOKEN}
- DISCORD_PREFIX=${DISCORD_PREFIX:-.}
- LOGLEVEL=Information
volumes:
- /mnt/docker/musicbro/autoplaylists:/app/autoplaylists
- /mnt/docker/musicbro/downloads:/app/downloads
DISCORD_TOKEN (Required): Your Discord bot tokenDISCORD_PREFIX (Optional): Command prefix, defaults to "."LOGLEVEL (Optional): Logging level, defaults to "Information".summon / .join - Join your voice channel.play / .p <query> - Play a song from YouTube URL/search term or add entire playlist.skip / .s - Skip the current song.queue / .q - Show the current queue.playnext <query> - Add a song to the front of the queue.playnow / .pnow <query> - Play a song immediately, skipping current track.clear - Clear the queue.shuffle - Shuffle the queue.pause - Pause playback.resume - Resume playback.autoplaylist / .ap - Manage autoplaylists (list|get|set|add|edit).help - Show help messageAvailable at: https://github.com/kildahldev/musicbro
This project is open source and available under the GPL-3.0 License.
Content type
Image
Digest
sha256:4c0be628d…
Size
190.8 MB
Last updated
about 1 year ago
docker pull kildahldev/musicbro