Question about cooldowns

Is the a way to make the cooldown show only if the same user is provided? Example: Someone starts spamming, 2 mods see it and use the warn command, which would result in 2 warnings for the same user, which should only be 1
5 Replies
Favna
Favna•2y ago
set the cooldown bucket to command you seem to have mixed your sentence there your example implies the cooldown should be across all users
-Carlos👑
-Carlos👑OP•2y ago
wdym
Favna
Favna•2y ago
your example implies you want the second user to hit the cooldown when the first user used the command but your question asks that the cooldown should be on a per-user basis
-Carlos👑
-Carlos👑OP•2y ago
what I meant is that I want to make a cooldown for providing the same user in the command argument
Favna
Favna•2y ago
that isnt possible because preconditions run before the command, it's in the name, PREconditions in-the-middle-of-a-command-at-any-random-time-conditions. You'll have to write your own checks for that.

Did you find this page helpful?