Skip to content

[Feature]: Add command cooldown system #22

@youngcoder45

Description

@youngcoder45

Problem statement

Without cooldowns, users can spam commands causing issues.

Proposed solution

Prevent users from spamming commands.
Suggested approach:

  1. Track user command timestamps
  2. Add cooldown duration
  3. Return message if on cooldown

Alternatives considered

  • Commands cannot be spammed
  • Cooldown message displayed

Additional context

Files:

  • command handler

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: MediumNormal priority. Should be addressed in due time.Status: OpenIssue is open and ready for work.enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions