-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
⚙️ feat: Add Command Rate Limiting
Description:
Implement rate limiting to prevent abuse or spam of bot commands. This will ensure more stable operation and discourage rapid or repeated triggering of commands.
Goals:
- Limit how many commands a user can run in a given timeframe (e.g. 5 commands per 10 seconds).
- Possibly differentiate between regular users and admins/mods.
- Return a friendly error message when a user is rate-limited.
Checklist:
- Define rate-limiting strategy (per-user, global, per-command, etc.)
- Configurable limit values (e.g. via YAML or env vars)
- Implement rate-limiting middleware or decorator
- Add clear error message for rate-limited users
- Tests to verify limits are enforced correctly
Priority: High
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo