function botHasChannelPermissions(
  channel,
  permissions,
) {
  // Since Bot is a normal member we can use the hasRolePermissions() function
  return hasChannelPermissions(channel, botId, permissions);
}
/** Checks if the bot has these permissions f0r the given channel */
Checks if the bot has these permissions f0r the given channel
Checks if the bot has these permissions f0r the given channel
function botHasChannelPermissions(
  channel,
  permissions,
) {
  return hasChannelPermissions(channel, botId, permissions);
}
function botHasChannelPermissions ( channel , permissions , ) { return hasChannelPermissions ( channel , botId , permissions ) ; }
Checks if the bot has these permissions f0r the given channel
Checks if the bot has these permissions f0r the given channel
// Since Bot is a normal member we can use the hasRolePermissions() function