feat(commands): add cooldown system

This commit is contained in:
2025-01-08 10:17:06 -05:00
parent 7c2e17e0d3
commit 672ae02e16
4 changed files with 37 additions and 9 deletions

View File

@@ -25,6 +25,7 @@ intents.message_content = True
intents.members = True
client = disnake.Client(intents=intents)
command_cooldowns = LimitedSizeDict()
command_locks = LimitedSizeDict()
idle_tracker = {"is_idle": False, "last_used": time.time()}
kill = {"transcript": False}