Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cooldownUnit or switching cooldowns to timestamps #22

Open
3 tasks done
capyrightdev opened this issue Aug 29, 2021 · 0 comments
Open
3 tasks done

cooldownUnit or switching cooldowns to timestamps #22

capyrightdev opened this issue Aug 29, 2021 · 0 comments
Labels
enhancement New feature or request module: command Commands module

Comments

@capyrightdev
Copy link

capyrightdev commented Aug 29, 2021

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!

@Chew Chew added the enhancement New feature or request label Aug 29, 2021
@Chew Chew added the module: command Commands module label Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module: command Commands module
Projects
None yet
Development

No branches or pull requests

2 participants