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

0.2.0 • 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

12

Version

0.2.0

License

MPL-2.0

Unpacked Size

236 kB

Total Files

57

Last publish

Collaborators

  • futuristick