Skip to content

cooldownUnit or switching cooldowns to timestamps #22

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions