`channel.permissionsFor()` does not take timed out guild member permissions into consideration
According to docs, timed out members should have lost all permissions except
VIEW_CHANNEL
and READ_MESSAGE_HISTORY
, if they do not have ADMINISTRATOR
permission. However, channel.permissionsFor()
and guildMember.permissions
do not reflect the permission changes on timeouts. I understand that we can check if a guild member is timed out with guildMember.isCommunicationDisabled()
and many other ways, but having a all-in-one method to check the current permissions accurately is more convenient for us.
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Post the full error stack trace, not just the top part!
- Show your code!
- Explain what exactly your issue is.
- Not a discord.js issue? Check out #useful-servers.
- Issue solved? Press the button!should I mark this as solved and post it again there?