requiresAll property

bool requiresAll
final

Whether this check requires the user invoking the command to have all of the permissions in permissions or only a single permission from permissions.

If this is true, the member invoking the command must have all the permissions in permissions to execute the command. Otherwise, members need only have one of the permissions in permissions to execute the command.

Implementation

final bool requiresAll;