Table of Contents

Method PermissionsFor

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

PermissionsFor(DiscordMember)

Calculates permissions for a given member.

public DiscordPermissions PermissionsFor(DiscordMember mbr)

Parameters

mbr DiscordMember

Member 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 DiscordRole

Role to calculate permissions for.

Returns

DiscordPermissions

Calculated permissions for a given role.