getEffectivePermissions

open suspend fun getEffectivePermissions(memberId: Snowflake): Permissions(source)

Calculates the effective permissions of the memberId in this channel, applying the overwrite for the member and their roles on top of the base permissions.

Throws

if something went wrong during the request.

if the memberId is not part of this guild.