Discore
Show / Hide Table of Contents

Method PermissionsToString

| Improve this Doc View Source

PermissionsToString(DiscordPermission)

Creates a comma-delimited string of permission names specified by the given bitwise permission flag.

Declaration
public static string PermissionsToString(DiscordPermission permission)
Parameters
Type Name Description
DiscordPermission permission

The bitwise permission flag to convert.

Returns
Type Description
string

A comma-delimited string in the format: "Name, Name2, Name3" (without quotes).

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX