Limit use of /bibleq #1

Closed
opened 2025-10-09 18:22:46 -04:00 by sirdog3355 · 1 comment
sirdog3355 commented 2025-10-09 18:22:46 -04:00 (Migrated from github.com)

Right now, the use of /bibleq is functionally unlimited. Ergo, it can be spammed. While this is not a scary issue, as if a mod/Fleff yells at anyone to stop, they likely will, for best practice purposes, the bot should probably not allow this to occur.

Ideally:

  • There should be a 30min-1hour rate limit per user.
  • Mods and admins should be exempt from the rate limit.
  • Command itself should only be useable by Sailors.
Right now, the use of `/bibleq` is functionally unlimited. Ergo, it can be spammed. While this is not a _scary_ issue, as if a mod/Fleff yells at anyone to stop, they likely will, for best practice purposes, the bot should probably not allow this to occur. Ideally: - There should be a 30min-1hour rate limit per user. - Mods and admins should be exempt from the rate limit. - Command itself should only be useable by Sailors.
sirdog3355 commented 2025-10-09 19:46:29 -04:00 (Migrated from github.com)

It seems Discord.py has cooldown functionality built in. This should dramatically decrease difficulty, though having mods/admins excluded may be more tricky

https://discordpy.readthedocs.io/en/latest/interactions/api.html#discord.app_commands.checks.cooldown

It seems Discord.py has cooldown functionality built in. This should dramatically decrease difficulty, though having mods/admins excluded may be more tricky https://discordpy.readthedocs.io/en/latest/interactions/api.html#discord.app_commands.checks.cooldown
Sign in to join this conversation.
No description provided.