Copy .env.example to .env and fill in your details:
DISCORD_TOKEN: Your Discord bot tokenSTATS_CHANNEL_ID: Channel ID for the system stats widgetCHAT_CHANNEL_ID: Channel ID for the Minecraft chat logsMC_LOG_DIR: Path to the Minecraft serverlogs/directory
uv run src/main.pyRun this script to simulate a Minecraft server writing fake chat logs to ./logs:
uv run python dev_fake_server.pyTo format and lint the code (and automatically apply fixes):
uv run ruff format .
uv run ruff check . --fixTo run static type checking:
uv run mypy .