requiredPermissions property

int requiredPermissions

A set of permissions required by users in guilds to execute this command.

The integer to use for a permission can be obtained by using PermissionsConstants. If a member has any of the permissions combined with the bitwise OR operator, they will be allowed to execute the command.

Implementation

int get requiredPermissions;