this is for yolkbot 2.0, which is in open beta. visit the old documentation to learn about the current release version of yolkbot.
unlike most typical packages, yolkbot is distributed through a separate registry (not NPM). to install it with the PM you use:
npm install https://yolkbot.xyz
pnpm install https://yolkbot.xyz
bun add https://yolkbot.xyz
after installing, you can import yolkbot like so:
import { Bot } from 'yolkbot';
to see everything exported, you can check the API reference.