How do I convert this a permission int into an PermissionString[]
Hello, I am watching the
I want to see which permissions has been changes so I hhave seen on the documentation that I can use PermissionsBitsField, I wrote this
But I am getting an error and I dont know what I am doing wrong, thanks for the help
GuildAuditLogEntryCreate event and when a permission is updated i am getting this in the entrychanges: [ { key: 'permissions', old: 8797166764176, new: 8797166764160 } ],I want to see which permissions has been changes so I hhave seen on the documentation that I can use PermissionsBitsField, I wrote this
But I am getting an error and I dont know what I am doing wrong, thanks for the help
RangeError [BitFieldInvalid]: Invalid bitfield flag or number: 8797166764176.