node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

jetpack-twitchbots

jetpack-twitchbots

An API wrapper for twitchbots.info for the Firefox Add-on SDK

Installation

Install this module into your extension by running the following command:

npm install --save jetpack-twitchbots

Usage

const twitchbots = require("jetpack-twitchbots");
 
twitchbots.getBot("freaktechnik").then((bot) => {
    if(bot.isBot) {
        console.log(bot.username, "is a bot.");
    }
    else {
        console.log(bot.username, "is not a bot");
    }
});

See twitchbots-base for a documentation of all methods available on the twitchbots object.

License

This project is licensed under the MIT License.