function requireBotGuildPermissions(
  guild,
  permissions,
) {
  // Since Bot is a normal member we can use the throwOnMissingGuildPermission() function
  return requireGuildPermissions(guild, botId, permissions);
}
/** Throws an error if the bot does not have all permissions */
Throws an error if the bot does not have all permissions
Throws an error if the bot does not have all permissions
function requireBotGuildPermissions(
  guild,
  permissions,
) {
  return requireGuildPermissions(guild, botId, permissions);
}
function requireBotGuildPermissions ( guild , permissions , ) { return requireGuildPermissions ( guild , botId , permissions ) ; }
Throws an error if the bot does not have all permissions
Throws an error if the bot does not have all permissions
// Since Bot is a normal member we can use the throwOnMissingGuildPermission() function