computePermissions
computePermissions(
context):PermissionSet
Defined in: packages/structures/src/permissions.ts:647
Resolves a member’s effective permissions the way Discord does: base
permissions from @everyone and the member’s roles (owner and
administrator get everything), then the channel’s @everyone overwrite,
the combined role overwrites, and finally the member overwrite. A member
whose timeout has not ended keeps only View Channel and Read Message History.