Code Monkey home page Code Monkey logo

twitch-lurker-bot's Introduction

Twitch Lurker Bot

A simple script to join multiple Twitch.tv channel chats under a user account.

Description

What to use it for

The primary purpose of this script is to increase your account activity in channels' chat-related actions while not actually watching the stream at the given moment, for example:

  • Increase your chances of receiving a community sub gift
  • Gain points in various watchtime-related point systems
  • And more...

What to keep in mind

Even though the script allows you to join a large number of channels, please, consider using it only for channels you would spend your time in nonetheless. Running the script presents you an advantage compared to other regular users, so use it only for channels you actively support and watch. Always be sure to follow Twitch.tv's Terms of Service.

How it works

The script is based on tmi.js, a Node.js package for the Twitch Messaging Interface. Once you provide an authorization token to your account and a list of channels, the script joins chat rooms for these channels with your account. It does not connect to the actual stream and therefore it does not count towards the viewer count - usage of this script is not viewer botting.

Instructions

Installation

  1. Download and install Node.js on your machine:

    https://nodejs.org/en/download/

  2. Clone or download the Twich Lurker Bot script to your desired location:

    git clone [email protected]:bartosjiri/twitch-lurker-bot.git
    
  3. Install the script dependencies:

    npm install
    
  4. Obtain the authentication token for your Twitch.tv account:

    https://twitchapps.com/tmi/

  5. Copy the config.example.js file as config.js and provide your account username, authentication token and list of channels to join. For example:

    module.exports = {
      username: "TheBiggestFan123",
      token: "oauth:m81v8urm9qwj6ceo0vapfmn8mepj64",
      channels: [
        "FamousStreamer",
        "PlayerOne",
        "FunnyGuy"
      ]
    };
    

Usage

  1. To start the script, navigate to the location of lurker.js file and run:

    node lurker.js
    

    Tip: If you don't want to keep your terminal window open while running the script, you can try running the script in a detached process.

Disclaimer

Use the script at your own risk, the repository owners and/or contributors are not responsible for any actions taken as a result of installing, setting up or running this script. Never share your authentication token with other people or store it at publicly available locations. Always be sure to follow Twitch.tv's Terms of Service.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.