anthr76 / DiscordMusicBot

Discord Bot written using discord.js and distube

Home Page:https://hub.docker.com/r/trigus42/discord-music-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord Music Bot

image

Features

  • Support for YouTube, Spotify and Deezer
  • Customizable audio filters
  • Control playback using buttons
  • Jump in queue and seek in a song
  • ...

Commands

image

userConfig

Variable Function Required Default
tokens Discord bot tokens - one or more (to join multiple voice channels) yes
prefix Command prefix yes
mainClientId If you use multiple bot tokens, this client will receive (and send) messages messages (yes)
ownerId ID of your Discord account. Allows the use of commands marked as ownerOnly no
spotify » clientId, clientSecret Spotify app credentails no
youtubeCookie YouTube cookies. Read how to get it in YTDL's Example no
youtubeIdentityToken You can find this by going to a video's watch page; viewing the source; and searching for "ID_TOKEN". no
nsfw Whether or not to play age-restricted content and disable safe-search in non-NSFW channels. no false

Docker Environment Variables

Variable Function Default
CONFIG_DIR Set config directory (db, filters, userConfig) /config
DB_PATH Set db file path CONFIG_DIR/db.sqlite
USER_CONFIG_PATH Set userConfig file path CONFIG_DIR/userConfig.json
FILTERS_PATH Set filters file path CONFIG_DIR/userConfig.json

Start

Run docker-compose up -d --build

About

Discord Bot written using discord.js and distube

https://hub.docker.com/r/trigus42/discord-music-bot


Languages

Language:TypeScript 98.2%Language:Nix 1.8%