Annotation Interface Cooldown


@Retention(RUNTIME) @Target(METHOD) @API(status=STABLE, since="1.0.0") public @interface Cooldown
Adds a cooldown to the command.
Since:
1.0.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    long
    Returns the duration.
    Returns the time unit of the duration()}.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns the cooldown group.