mirror of
https://github.com/Paillat-dev/flagger.git
synced 2026-01-02 01:06:21 +00:00
✨ Add cooldown configuration for flag commands (#14)
This commit is contained in:
@@ -65,6 +65,10 @@ Set the following environment variables:
|
||||
- `FLAGWAVER_HTTP_PORT`: Port for the flagwaver HTTP server (default: `8910`)
|
||||
- `UVICORN_HOST`: Host address for the Uvicorn server (default: `0.0.0.0`)
|
||||
- `AUTO_SYNC_COMMANDS`: Whether to automatically sync slash commands with Discord (default: `true`)
|
||||
- `FLAGWAVER_PATH`: Path to the flagwaver distribution directory (default: `src/flagwaver/dist`)
|
||||
- `LOG_LEVEL`: Logging level for the application (default: `INFO`)
|
||||
- `COOLDOWN_RATE`: Number of command uses allowed per cooldown period (default: `1`)
|
||||
- `COOLDOWN_PER`: Cooldown period in seconds (default: `900`, i.e., 15 minutes)
|
||||
|
||||
## Installation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user