getMissingPermissions(Defined in: packages/http-framework/src/lib/utils/permissions.ts:52 Computes the permissions fromgranted,required):bigint
required that are missing in granted.
Parameters
granted
bigint
The bitfield of the permissions that were granted.
required
bigint
The bitfield of the permissions that are required.
Returns
bigint
The bitfield of the missing permissions, 0n if none are missing.
Remarks
Members with theAdministrator permission implicitly have every permission, so this returns 0n when
granted contains it.