Skip to content

Instantly share code, notes, and snippets.

View bobisapotato's full-sized avatar
:atom:
yo

bobisapotato bobisapotato

:atom:
yo
View GitHub Profile
@twitchdevelopers
twitchdevelopers / chatbot_getting_started.js
Last active October 4, 2023 00:05
Sample Code for Getting Started with Chatbots
const tmi = require('tmi.js');
// Define configuration options
const opts = {
identity: {
username: <BOT_USERNAME>,
password: <OAUTH_TOKEN>
},
channels: [
<CHANNEL_NAME>