channelUpdate Permissions

Hey there, how can I retreive the permission changes on the event? Upon fetching the audit logs and looking for the channelUpdate AuditLogEvent, logs.entries.first().changes logs this
[ { key: 'allow', old: '1040', new: '268436496' } ]
[ { key: 'allow', old: '1040', new: '268436496' } ]
How can I use the bitfields to actual permissions?
3 Replies
d.js toolkit
d.js toolkit14mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
d.js docs
d.js docs14mo ago
class PermissionsBitField (extends BitField) Data structure that makes it easy to interact with a permission bitfield. All GuildMembers have a set of permissions in their guild, and each channel in the guild may also have PermissionOverwrites for the member that override their default permissions.
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server