Note: This project is currently abandoned, but I might come back in the future and pick it back up.
A discord bot that can play music, let's you play chess and do other things. please submit issues, thank you
If you like the project and want to help, consider buying me a coffee!
Sorry for the poor documentation, I'll improve it later (maybe)
-
Python 3.9.2
-
modules in
requirements.txt
file -
A copy of ffmpeg added to path (Only needed to use the musicbot module)
-
The discord token of your bot create a bot here
-
[optional] The spotify key and user id You can get them here
-
clone repository in a folder
git clone https://github.com/NotLatif/CuloBot .
-
open the folder in a terminal and
cd
to the folder -
python -m venv .venv
to create a python virtual environment (recommended).\.venv\Scripts\activate
to activate the virtual environment- When needed use
deactivate
to deactivate the virtual environment
-
python -m pip install -r .\requirements.txt
to install the required modules -
run the
bot.py
file with python -
edit the
.env
file adding your keys without quotes -
on the Developer portal, enable intents under
Privileged gateway intents
-
click on
OAuth2
->Url generator
-
check
Bot
in the left and choose the permissions you want the bot to have -
add the bot to your server
-
set your wanted configs in
config.py
-
run
bot.py
-
everything should be good
To enable the download of age restricted videos
- Sign in to Youtube on your browser
- Save all the cookies using a cookie grabber extension
- While browsing youtube (or preferably watching an age restricted video), click on the extension and export the cookies captured by the extension to
music/.yt_cookies.txt