1.0.2 • Published 2 years ago

@twitch.js/chat v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Twitch.js

Twitch.js is a library that allows you to easily create chat bots or interact with the Twitch API.

Installation

NPM

npm install @twitch.js/chat

Yarn

yarn add @twitch.js/chat

Example Usage

import { chat } from '@twitch.js/chat';

chat.connect({
  user: process.env.CHAT_USER,
  token: process.env.CHAT_TOKEN,
  rateLimit: {
    joins: 20,
    messages: 20,
  },
});

chat.on('connect', async () => {
  await chat.joinChannel('hasanabi');
});

Contributing

Pull requests are always welcome!

Before creating an issue or pull request, please ensure there isn't an existing one open.

1.0.2

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago