- Create your discord bot in the discord developers portal. https://discord.com/developers/applications
- Create one
.envfile in the root of the project with the variables descripted below in the ".env file variables" section. - Fill the
.envvariables with your discord bot token, your discord bot prefix (for the messages) and the other variables if you want (optional). - Run the project with the usage instructions below.
TOKEN_DISCORD={{YOUR_DISCORD_BOT_TOKEN}}
SPOTIFY_CLIENT_ID={{YOUR_SPOTIFY_CLIENT_ID}}
SPOTIFY_CLIENT_SECRET={{YOUR_SPOTIFY_SECRET_TOKEN}}
YOUTUBE_TOKEN={{YOUR_YOUTUBE_API_TOKEN}}
PREFIX=?
- run
node index.js - run
python3 crawler.py(orpython crawler.pyif you only have python command)
?play {{QUERY_HERE}}?pause?resume?stop?skip?shuffle?length?loop?spotify {{LINK_HERE}}