get forum channel list of role permissions
I am trying to get a list of role permissions for a specific channel, because I need to get the ID of the 4th role in the list. How would I do this if I have
channel = [channelObject]
4 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! PermissionOverwriteManager (extends CachedManager)
Manages API methods for guild channel permission overwrites and stores their TextChannel#permissionOverwrites
A manager of permission overwrites that belong to this channel
also, i believe the cache is unordered so the 4th role wont correspond with the role shown in the client
thats fine, should be able to find it