This project is a Discord bot specifically for use with the Python Discord server. It provides numerous utilities and other tools to help keep the server running like a well-oiled machine.
- Git
- Docker
- Docker-Compose
pip install docker-compose
- Pipenv
pip install pipenv
- Read the Contributing guidelines.
- Clone the repository to a suitable working project directory using
git clone
.- If you are not a core developer, you will need to
fork
pythondiscord/bot.
- If you are not a core developer, you will need to
- Create a copy of
config-default.yml
namedconfig.yml
and edit the configuration options.- This is to be replaced with different instructions in future due to upcoming config updates.
- Create an empty
.env
in the same top-level project directory and add:BOT_TOKEN=yourdiscordbottoken
- If you have a development site setup already, get the docker project name and add in
.env
:COMPOSE_PROJECT_NAME=site
, adjustingsite
to match the other project name.
- Install development dependancies for your IDE/editor/linting:
pipenv sync --dev
- Run the compose:
- If you're running a full development site setup already, run:
docker-compose up bot
- Otherwise, run:
docker-compose up
- If you're running a full development site setup already, run: