Annotation Interface RequirePermissions


@Retention(RUNTIME) @Target(TYPE) public @interface RequirePermissions
Specifies the Discord Permissions that the executing user must possess in the current channel or guild to invoke the annotated command.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    An array of Permissions required by the user.
  • Element Details

    • value

      Permission[] value
      An array of Permissions required by the user.
      Returns:
      The required permissions.