How to detect whether my bot has permission to JOIN and SPEAK in some voice channels

just it
9 Replies
d.js toolkit
d.js toolkit15mo 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 docs15mo ago
method TextChannel#permissionsFor() Gets the overall set of permissions for a member or role in this channel, taking into account channel method PermissionsBitField#has() Checks whether the bitfield has a permission, or multiple permissions.
Fyphen
FyphenOP15mo ago
voice channel
MrMythical
MrMythical15mo ago
same thing
Fyphen
FyphenOP15mo ago
wu
d.js docs
d.js docs15mo ago
method VoiceChannel#permissionsFor() Gets the overall set of permissions for a member or role in this channel, taking into account channel overwrites.
Fyphen
FyphenOP15mo ago
then how to get myself from interaction
Unknown User
Unknown User15mo ago
Message Not Public
Sign In & Join Server To View
Fyphen
FyphenOP15mo ago
i see
Want results from more Discord servers?
Add your server