@skyware/bot
TypeScript icon, indicating that this package has built-in type declarations

0.3.8 • Public • Published
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();
})

Package Sidebar

Install

npm i @skyware/bot

Weekly Downloads

307

Version

0.3.8

License

MPL-2.0

Unpacked Size

279 kB

Total Files

73

Last publish

Collaborators

  • futuristick