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

@@ -180,6 +180,8 @@ async def queue_or_play(message, edited=False):
message,
f"**{len(players[message.guild.id].queue)}.** {queued.format()}",
)
utils.cooldown(message, 3)
elif tokens[0].lower() == "play":
await resume(message)
else: