Skip to content

cooldownUnit or switching cooldowns to timestamps #22

@capyrightdev

Description

@capyrightdev

Issue Checklist

  • I have checked for similar issues on the Issue tracker
  • I have updated to the latest version of JDA-Chewtils.
  • I have checked the branches or the maintainer's PRs for upcoming features and updates.

Affected Modules

Command

Description

Simply makes the entire cooldown situation much more cleaner. Chew told me to suggest this here so, here we go.

this.cooldownUnit = TimeUnit.MINUTE;
or it simply states the timestamp in the message.
For example, instead of "You can not use that command for another 2 seconds!" it'll be "You can not use that command until 6 hours later!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions