This is your entrypoint to the boilerplate-core, check out the Setup Guide to get started
The heart of this package, read more in the Setup Guide
const { initialize } = require('twitch-chatbot-boilerplate'); async function main() { const { client } = await initialize(); // This is the example on the tmi.js website client.on('message', (channel, userstate, message, self) => { if (self) return; if (message.toLowerCase() === '!hello') { client.say(channel, `@${userstate.username}, heya!`); } }); } main().catch((e) => console.error(e));
Generated using TypeDoc
This is your entrypoint to the boilerplate-core, check out the Setup Guide to get started