Bot for playing music in discord channels. Supported sources:
Source | Supports |
---|---|
YouTube | ✅ |
Spotify | ❌ |
SoundCloud | ❌ |
- Firstly you need to create your bot on discord developers portal to get your own token. You can follow this instruction in order to catch up a basics.
- Open
.env
file and filldiscord_token
property with the token you got on the previous step. - Make sure you installed all needed dependencies (file
requirements.txt
). To do that fast way you can runpython3 -m pip install -r requirements.txt
in terminal, it will install all dependencies fromrequirements.txt
file. - Bot uses FFmpeg to play the music. You need to download the executable file from the official site according to your OS and place that file in the root folder of KlaaaMNBot. Otherwise, the bot won't be able to play music and will respond to each attempt with an error.
IMPORTANT: the name of the file should beffmpeg
- One last step - run the bot. You can do this by running
sh start.sh
in terminal or manually by executingpython3 sources/app.py
. Both commands are valid from the bot's root folder. - You're done! Don't forget to invite bot to your server.
This bot should be used only for personal use.
Also take note on this article.