Table of Contents

Method AsUnderlyingType

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AsUnderlyingType(DiscordPermission)

Cast a value of DiscordPermission to the underlying type (int). This is mainly a convenience method.

public static int AsUnderlyingType(this DiscordPermission value)

Parameters

value DiscordPermission

Returns

int

The value of DiscordPermission cast to the underlying type.