Updating Users Permissions (RoleManager)?
Once Discord.js has started and I change roles on a user, the permissions bits stay the same as the permissions when the bot was started.
How can I update the permissions when they are changed?
├─┬ [email protected]
│ └── [email protected] deduped
└── [email protected]
Node: v20.12.2
7 Replies
- 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!if you have the
GuildMembers
intent, your bot will receive the guildMemberUpdate
event and update the cacheAh Okay! I will have to add that! Doh
some side notes:
- modals are already natively supported and have been for a while, so discord-modals is completely unnecessary
- 14.15.1 already released, so you're using an outdated dev version
Yeah, I will update shortly 😄
@duck This is not possible because I cannot use Guild_members intent as my bot is verified.
Is there another solution?
no, this is where you would apply for the intent
Okay 🙂