LogoRobo.js
Packages@robojs/mock

computePermissions()

Function: computePermissions()

function computePermissions(
   member, 
   channel, 
   guild, 
   roles): bigint

Compute permissions for a member in a specific channel

Parameters

ParameterTypeDescription
memberMockGuildMemberThe guild member
channelMockChannelThe channel
guildMockGuildThe guild
rolesMockRole[]All roles in the guild

Returns

bigint

The computed permission bitfield

On this page