Annotation 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 ElementsModifier and TypeRequired ElementDescriptionnet.dv8tion.jda.api.Permission[]An array ofPermissions required by the bot.
-
Element Details
-
value
net.dv8tion.jda.api.Permission[] valueAn array ofPermissions required by the bot.- Returns:
- The required self-permissions.
-