TehPig
DIAdiscord.js - Imagine an app
•Created by TehPig on 8/9/2024 in #djs-questions
missing permissions / permissions are already granted
Hey there, my bot is not able to create a channel.
As the error suggests, it is missing some kind of permission, although it already has both manage roles and manage channels permissions to create the channel with permission overwrites. Is there any possible solution?
22 replies
DIAdiscord.js - Imagine an app
•Created by TehPig on 7/23/2024 in #djs-questions
premiumSubscriptionCount is NaN
what could be the cause of this?
15 replies
DIAdiscord.js - Imagine an app
•Created by TehPig on 10/15/2023 in #djs-questions
channelUpdate compare permissions
Hey there, I tried using the channelUpdate event to get the difference between the old permissions and the new channel permissions.
There is a slight issue though. Upon using this line to check if the permissions are changed, it always logs false in console, making the permissions check basically usesless.
16 replies
DIAdiscord.js - Imagine an app
•Created by TehPig on 10/5/2023 in #djs-questions
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
How can I use the bitfields to actual permissions?5 replies