function requireBotChannelPermissions(
  channel,
  permissions,
) {
  // Since Bot is a normal member we can use the throwOnMissingChannelPermission() function
  return requireChannelPermissions(channel, botId, permissions);
}
/** Throws an error if the bot has not all of the given channel permissions */
Throws an error if the bot has not all of the given channel permissions
Throws an error if the bot has not all of the given channel permissions
function requireBotChannelPermissions(
  channel,
  permissions,
) {
  return requireChannelPermissions(channel, botId, permissions);
}
function requireBotChannelPermissions ( channel , permissions , ) { return requireChannelPermissions ( channel , botId , permissions ) ; }
Throws an error if the bot has not all of the given channel permissions
Throws an error if the bot has not all of the given channel permissions
// Since Bot is a normal member we can use the throwOnMissingChannelPermission() function