twitch-irc-oauth

1.0.0 • Public • Published

twitch-irc-oauth

Npm Version Issues

Installation

$ npm install --save twitch-irc-oauth

Configuration

var irc = require('twitch-irc');
 
var clientOptions = {
    options: {
        exitOnError: false,
        database: './data',
    },
    channels: ['schmoopiie']
};
 
var client = new irc.client(clientOptions);
 
// Using the database module is optional.
var db     = require('twitch-irc-db')(clientOptions);
 
// Passing the client instance (required) and the database module..
var oauth  = require('twitch-irc-oauth')(client, db);
 
client.addListener('oauth', function (username, token, scopes) {
    // Do your stuff.
});

Contributing Guidelines

Please review the guidelines for contributing to this repository.

Support

Feel free to create an issue. We are active on the development of twitch-irc and it's modules and we respond to each and every issues. When submitting an issue, please include your Node/NPM versions, your operating system and the log file or the error message. Please, do your best to explain how to reproduce the issue.

License

The MIT License (MIT)

Copyright (c) 2015 Schmoopiie

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package Sidebar

Install

npm i twitch-irc-oauth

Weekly Downloads

0

Version

1.0.0

License

none

Last publish

Collaborators

  • schmoopiie