Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check bot channel permissions

//channel permissions
msg.guild.me.permissionsIn(msg.channel).has(permissions)

//guild permissions
msg.guild.me.permissions.has(permissions)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #bot #channel #permissions
ADD COMMENT
Topic
Name
4+8 =