Annotation Interface RequireSelfPermissions


@Retention(RUNTIME) @Target(TYPE) public @interface RequireSelfPermissions
Specifies the Discord Permissions that the bot itself must possess in the current channel or guild to successfully handle the annotated command.
  • Required Element Summary

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

    • value

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