Skip to content

qWici/Twitch-JS-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Npm Version Node Version

Twitch JS Bot

Simple Twitch bot using tmi.js

Version 2

With Jest, TMI.js, Nodemon, Config, Babel twitch-bot-boilerplate

Install

  1. Clone repository

  2. Install modules npm i or yarn install

  3. Copy example config

    cp config/default.example.json5 config/default.json5
  4. Setup bot

oauth_token you can get here by login via bot

bot: {
    username: "your-bots-username-here",
    oauth_token: "oauthtokenhere"
},
channel: "your-channel-here"
  1. Run bot node bot.js

Commands

For admin

  • !to username duration - Timeout username on channel for X seconds.
  • !clear - Clear all messages on a channel.

For users

  • !fb - Send you Facebook link
  • !twt - Send you Twitter link

Get in touch

About

Simple Twitch bot using tmi.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors