Table of Contents

Method ToStringFast

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

ToStringFast(DiscordPermission)

Returns the string representation of the DiscordPermission value. If the attribute is decorated with a [Display] attribute, then uses the provided value. Otherwise uses the name of the member, equivalent to calling ToString() on value.

public static string ToStringFast(this DiscordPermission value)

Parameters

value DiscordPermission

The value to retrieve the string value for

Returns

string

The string representation of the value