Check if user has write permissions in channel
Is there an easy way to check if a user has write permissions for a channel?
5 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
For sending
https://discord.js.org/#/docs/discord.js/main/class/TextChannel?scrollTo=permissionsFor
so something like:
Discord.js
Discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.
but what is "write permissions" (as i am just guessing that it is send)
Thanks @riskymh
Yeah, just send.
🙂