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
Required ElementsModifier and TypeRequired ElementDescriptionintThe number of seconds the annotated Command will be on cooldown. -
Optional Element Summary
Optional Elements
-
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
Command.CooldownScope scopeTheCooldownScopefor the annotated Command.By default this is
CooldownScope.USER.- Returns:
- The CooldownScope for this annotated Command.
- Default:
- USER
-