Skip to content

skyware-js/bot

Repository files navigation

Skyware

@skyware/bot

A framework for building bots on Bluesky.

Documentation

Features

  • Events: Receive and respond to events in real time with zero setup.
  • Rate Limiting: Automatically handle rate limits and caching.
  • High-level API: A simple, high-level API designed for ease of use.

Installation

npm install @skyware/bot

Example Usage

import { Bot } from "@skyware/bot";

const bot = new Bot();
await bot.login({ identifier: "···", password: "···" });

bot.on("reply", async (post) => {
    await post.reply({ text: "Thanks for replying to my post!" });
    await post.like();
    await post.author.follow();
})