Method PermissionsFor
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
PermissionsFor(DiscordMember)
Calculates permissions for a given member.
public DiscordPermissions PermissionsFor(DiscordMember mbr)
Parameters
mbr
DiscordMemberMember to calculate permissions for.
Returns
- DiscordPermissions
Calculated permissions for a given member.
PermissionsFor(DiscordRole)
Calculates permissions for a given role.
public DiscordPermissions PermissionsFor(DiscordRole role)
Parameters
role
DiscordRoleRole to calculate permissions for.
Returns
- DiscordPermissions
Calculated permissions for a given role.