Attempting to generate quote in OOC triggers cooldown #28

Closed
opened 2025-10-12 03:04:23 -04:00 by sirdog3355 · 1 comment
sirdog3355 commented 2025-10-12 03:04:23 -04:00 (Migrated from github.com)

I am unsure how much I really care to fix this - we'll see - but wanna document it:

Right now, the cooldown on /bibleq uses Discord.py's native @app_commands.checks.dynamic_cooldown() decorator. Inside the actual /bibleq function is the check for if it's ran in #out-of-context.

Logically, the cooldown applies irrespective of if the channel check blocks the user, as from Discord.py's perspective the command was ran and thus warrants a cooldown.

Desired functionality is that if the channel check blocks the user the cooldown is not triggered.

I am unsure how much I really care to fix this - we'll see - but wanna document it: Right now, the cooldown on `/bibleq` uses Discord.py's native `@app_commands.checks.dynamic_cooldown()` decorator. Inside the actual `/bibleq` function is the check for if it's ran in `#out-of-context`. Logically, the cooldown applies irrespective of if the channel check blocks the user, as from Discord.py's perspective the command was ran and thus warrants a cooldown. Desired functionality is that if the channel check blocks the user the cooldown is _not_ triggered.
sirdog3355 commented 2025-10-18 23:32:16 -04:00 (Migrated from github.com)

Closed per #58

Closed per #58
Sign in to join this conversation.
No description provided.