Method GetOldPermissions
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetOldPermissions()
Converts the old raw value to a permissions bitset when possible.
public Permissions? GetOldPermissions()
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.