- Create a spotify developer account to get client secret and client ID.
- Create a discord bot to get bot token
- Create
.env
file with the following:
DISCORD_TOKEN="your token here"
SPOTIFY_CLIENT_SECRET="your secret here"
SPOTIFY_CLIENT_ID="your id here"
- Then,
docker-compose up
- To get the bot to join a server you need this URL. Replace
client_id
with your own discord bot's. - If the bot has been added to the server via the URL, then
/help
will print all available commands.
docker compose up --force-recreate --pull always -d
- Issue with music videos being the first result for queries. Trying out adding
audio
string to youtube-dl search query when using spotify URLs e.g. "50 Cent Candy Shop Audio".