Shelob9 / bot

A framework for building bots on Bluesky.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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();
})

About

A framework for building bots on Bluesky.

License:Mozilla Public License 2.0


Languages

Language:TypeScript 100.0%