Discord.py bot with miscellaneous utilities
- Clone this repository into a local folder
git clone https://github.com/alexandershuping/cabbage-bot.git
- Install all requirements, except for the python libraries (see below)
- Install the python libraries
This can be done in one step by running
pip install -U -r pyreqs
- Copy the file
cabbagerc.py.skel
tocabbagerc.py
- Edit the newly-created
cabbagerc.py
and fill in your bot token, etc. - Perform important setup steps
- Use psql to create a database with the same name as you specified in cabbagerc.py
- run
PlantCabbage.py
to complete setup
- Run cabbage.py
Make sure to install these before you try installing the libraries below.
- Recommended Python version: 3.5.2
- PostgreSQL
Note that these libraries can be installed automatically by running pip install -U -r pyreqs
If the command fails with Error: pg_config executable not found
, then you may not have installed postgresql. Please install all non-python-library components before trying to install the below libraries.