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

Add support for using manual cooldowns on single commands #269

Open
wants to merge 2 commits into
base: current
Choose a base branch
from

Conversation

jamesbt365
Copy link
Member

Not sure if adding fields to Command is breaking, it can be constructed publicly so maybe? will rebase to next on request.

Currently it is treated like an override, but if allowing users to have manual cooldowns on for every command but a few select ones is desired, this could be an Option<bool>.

I have not adjusted the examples, but in the current state there isn't really anything to add. Maybe a comment somewhere saying that it can be done for specific commands?

@jamesbt365 jamesbt365 force-pushed the single-command-manual-cooldown branch from 4025afa to 7af98ac Compare May 26, 2024 16:00
macros/src/command/mod.rs Outdated Show resolved Hide resolved
macros/src/command/slash.rs Outdated Show resolved Hide resolved
@jamesbt365 jamesbt365 requested a review from kangalio June 4, 2024 00:23
@jamesbt365 jamesbt365 force-pushed the single-command-manual-cooldown branch from 7fcdf3e to 2064440 Compare June 4, 2024 00:25
@jamesbt365 jamesbt365 force-pushed the single-command-manual-cooldown branch from 2064440 to bef8fda Compare June 16, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants