Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Chat, ChatEvents } from "twitch-js";
- import Credentials from './Credentials/Credentials.js';
- import * as commands from './commands/commands.js';
- const username = Credentials.username;
- const token = Credentials.helix_token;
- const channels = ["brian6932", 'pajlada', 'drapsnatt'];
- const run = async () => {
- const chat = new Chat({
- username,
- token
- });
- await chat.connect();
- channels.forEach(channel => chat.join(channel));
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement