Function: parseConstructorPreConditionsRequiredClientPermissions()
parseConstructorPreConditionsRequiredClientPermissions(
requiredClientPermissions
:undefined
|PermissionResolvable
,preconditionContainerArray
:PreconditionContainerArray
):void
Appends the ClientPermissions
precondition when Command.Options.requiredClientPermissions resolves to a
non-zero bitfield.
Parameters
Parameter | Type | Description |
---|---|---|
requiredClientPermissions | undefined | PermissionResolvable | The required client permissions. |
preconditionContainerArray | PreconditionContainerArray | The precondition container array to append the precondition to. |
Returns
void
Defined in
projects/framework/src/lib/precondition-resolvers/clientPermissions.ts:11