This bot has commands focused on music, like play, pause, repeat, next, stop....
This version uses Lavalink. Readme of previous version with youtube-dl here (deprecated)
- Cloning the project:
$ git clone https://github.com/diogoditorr/discord-bot-py
# Enter the main_bot folder
$ cd discord-bot-py/main_bot
- Install dependencies with pipenv:
$ pipenv install
- Create .env from the example file. Do not forget to set your BOT_TOKEN.
- Create the application.yml file from example.
- Download Lavalink.jar here or use this command inside the main_bot folder:
$ curl -s https://api.github.com/repos/freyacodes/Lavalink/releases/latest \
| grep "Lavalink.jar" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -qi -
- Run in a new terminal
$ java -jar Lavalink.jar
More information in Lavalink repository
$ python bot.py
This project is under the MIT license. See the LICENSE for more information.