Packages@robojs/mock
computePermissions()
Function: computePermissions()
function computePermissions(
member,
channel,
guild,
roles): bigintCompute permissions for a member in a specific channel
Parameters
| Parameter | Type | Description |
|---|---|---|
member | MockGuildMember | The guild member |
channel | MockChannel | The channel |
guild | MockGuild | The guild |
roles | MockRole[] | All roles in the guild |
Returns
bigint
The computed permission bitfield
