Method GetNewPermissions
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetNewPermissions()
Converts the new raw value to a permissions bitset when possible.
public Permissions? GetNewPermissions()
Returns
- Permissions?
The parsed permissions, or null when the value is absent or malformed.
Remarks
Discord commonly serializes permissions as decimal strings inside audit log change payloads.