Annotation Interface JDACommand.Cooldown
- Enclosing class:
JDACommand
A value wrapper for what would be
Command#cooldown
and Command#cooldownScope
.
The default CooldownScope
is CooldownScope.USER
.- See Also:
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionint
The number of seconds the annotated Command will be on cooldown. -
Optional Element Summary
-
Element Details
-
value
int valueThe number of seconds the annotated Command will be on cooldown.- Returns:
- The number of seconds the annotated Command will be on cooldown.
-
scope
CooldownScope scopeTheCooldownScope
for the annotated Command.By default this is
CooldownScope.USER
.- Returns:
- The CooldownScope for this annotated Command.
- Default:
USER
-