Discord Bot Project:
- First step is to find a server to put the bot in:
- Then go to the discord developer portal: https://discord.com/build/app-developers Go here and click get started
- Create a new bot and add admin privileges:
- Then copy the Token save this somewhere easy to access and safe:
- To run this project on your computer make sure to install homebrew: https://docs.brew.sh/Installation
- Make sure you have the most recent version of pip:
- I also faced an issue with the pyvips package installation, so I switched to cairosvg. To install all the necessary packages: pip install discord pip install os pip install random pip install requests pip install time pip install chess pip install chess.svg pip install sys pip install stockfish pip install time pip install cairo svg
- First get your discord token and replace with GO_GET_YOUR_DISCORD_TOKEN: export DISCORD_BOT_TOKEN='GO_GET_YOUR_DISCORD_TOKEN'
- If all the packages are installed correctly, then go to terminal locate main.py and run it with: python main.py