Convert the channel's permission bitfield into Permission strings
the permission bitfield
array of permission strings
Get the channel's permission bitfield
the channel object
the user object
the permission bitfield
Get the channel permissions in permission strings
the channel object
the user object
array of permission strings
Get the server's permission bitfield
the server object
the user object
the permission bitfield
Get the server permissions in permission strings
the server object
the user object
array of permission strings
Check if the user has the permissions provided
the channel object
the user object
array of permission strings, eg ["View", "SendMessage"]
boolean
Check if the user has the permissions provided
the server object
the user object
array of permission strings, eg ["View", "ChangeNickname"]
boolean
Convert the server's permission bitfield into Permission strings
the permission bitfield
array of permission strings
Generated using TypeDoc
Permission handling