Skip to content

diogoditorr/discord-bot-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord

Language

🤖 discord-bot-py

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)

⚙ How to run the Bot:

  • 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.

Running Lavalink

  • Create the application.yml file from example.
  • Download Lavalink.jar here or use this command inside the main_bot folder:
$ curl -s https://github.com/gitapi/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

Running the Bot

$ python bot.py

🎶 All Commands

📝 License

This project is under the MIT license. See the LICENSE for more information.