Guide
Getting Started
Getting Started
Get a Buttercat bot up and running
Things you'll need
Setting up your bot
-
Create a new JavaScript or TypeScript project
-
Install
@buttercatbot/core
and optionally@buttercatbot/logger
-
Create a new instance of the Bot class
import { Bot } from '@buttercatbot/core'; await new Bot({ channels: ['mychannel'], identity: { username: 'mytwitchusername', password: 'mytwitchtoken', }, logLevel: 2, }).initialize();
-
Run your project and see if it works
Links
- Check out the Example Bot for a working example