Skip to content

Discord bot made in python that plays music, has a chess game and responds to your messages.

License

Notifications You must be signed in to change notification settings

NotLatif/BetaPeachBot

Repository files navigation

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!

About

Sorry for the poor documentation, I'll improve it later (maybe)

How to self-host the bot

Prerequisites:

steps:

  1. clone repository in a folder git clone https://github.com/NotLatif/CuloBot .

  2. open the folder in a terminal and cd to the folder

  3. 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
  4. python -m pip install -r .\requirements.txt to install the required modules

  5. run the bot.py file with python

  6. edit the .env file adding your keys without quotes

  7. on the Developer portal, enable intents under Privileged gateway intents

  8. click on OAuth2 -> Url generator

  9. check Bot in the left and choose the permissions you want the bot to have

  10. add the bot to your server

  11. set your wanted configs in config.py

  12. run bot.py

  13. everything should be good

Youtube age restricted videos

To enable the download of age restricted videos

  1. Sign in to Youtube on your browser
  2. Save all the cookies using a cookie grabber extension
  3. 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