# create .venv in workspace
poetry config virtualenvs.in-project true
# (optional) install pre-commit
poetry run pre-commit install
poetry install
poetry run bot
docker build --tag bot .
# Run Bot with .env file
docker run --env-file .env -it --rm bot
# Or run with `--env`
docker run -e DISCORD_BOT_TOKEN=<BOT_TOKEN> -it --rm bot
# For development
docker run --rm -it --mount type=bind,source="$(pwd)",destination=/app --env-file .env bot bash
# Run Bot with .env file
docker-compose run --rm bot
# Or run with `--env`
docker-compose run -e DISCORD_BOT_TOKEN=<BOT_TOKEN> --rm bot
# For development
docker-compose -f docker-compose.dev.yml run bot bash
- Manage Role
- Send messages
- Read message history
- Add reactions
- View Channel
268512320