function botHasGuildPermissions(
  guild,
  permissions,
) {
  // Since Bot is a normal member we can use the hasRolePermissions() function
  return hasGuildPermissions(guild, botId, permissions);
}
/** Checks if the bot has these permissions in the given guild */
Checks if the bot has these permissions in the given guild
Checks if the bot has these permissions in the given guild
function botHasGuildPermissions(
  guild,
  permissions,
) {
  return hasGuildPermissions(guild, botId, permissions);
}
function botHasGuildPermissions ( guild , permissions , ) { return hasGuildPermissions ( guild , botId , permissions ) ; }
Checks if the bot has these permissions in the given guild
Checks if the bot has these permissions in the given guild
// Since Bot is a normal member we can use the hasRolePermissions() function