- Setup a reverse proxy to
constants.DEFAULT_PORTto plumb the HTTP API endpoints. - Set required environment variables:
- Create a Discord IDs JSON file and set all required IDs.
- Set environment variable
THEBURGBOT_DISCORD_IDS_JSON_PATHto control the path, or create it at the default path
- Set environment variable
- Create a Reaction/Roles mapping JSON file.
THEBURGBOT_REACTION_ROLES_JSON_PATHcontrols the path, or the default
poetry install(poetry version >=1.5)
poetry run main
If you change or update slash command definitions and want them to be reflected on Discord, use --sync_commands. Do not over-use this option as the action is (heavily) rate-limited!
poetry run pytest tests/find ./theburgbot/ -name "*.py" | xargs poetry run pylint --rc-file=./.pylintrcpoetry run black theburgbot/*.py theburgbot/cmd_handlers/*.py tests/*.py && \
poetry run isort theburgbot/*.py theburgbot/cmd_handlers/*.py tests/*.py