Skip to content

add fallback cooldown for commands without one - #71

Open
arshnah wants to merge 1 commit into
TheCodeVerseHub:mainfrom
arshnah:feat/default-command-cooldown
Open

add fallback cooldown for commands without one#71
arshnah wants to merge 1 commit into
TheCodeVerseHub:mainfrom
arshnah:feat/default-command-cooldown

Conversation

@arshnah

@arshnah arshnah commented Sep 3, 2026

Copy link
Copy Markdown

most commands had no rate limit at all. added a small per-user cooldown that only kicks in for commands that don't already define their own, so stuff like fun.py/tts.py keeps its existing cooldowns. works for both prefix and slash commands, duration configurable via env var.

closes #29

@arshnah
arshnah requested review from a team as code owners September 3, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add command cooldown system

1 participant