Method ToString
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
ToString()
Returns a string representation of this permission set.
public override string ToString()
Returns
ToString(string)
Returns a string representation of this permission set, according to the provided format string.
public string ToString(string format)
Parameters
format
stringSpecifies the format in which the string should be created. Currently supported formats are:
raw
: This prints the raw, byte-wise backing data of this instance.name
: This prints each flag by name, separated by commas.- anything else will print the integer value contained in this DiscordPermissions instance.