GithubHelp home page GithubHelp logo

slackbot-twitch's Introduction

slackbot-twitch

A simple bot todo cool things with slack and twitch

Sample config.json

justinfan with a string of up to 5 numbers and no password creates an anonomous login to Twitch Chat

{
    "irc": {
        "network": "irc.twitch.tv",
        "userName": "justinfan24356",
        "password": "",

        "channels": ["#achannel", "#anotherchannel"]
    },

    "twitch_client_id": "FROM Twitch API Signup",

    "slack_token": "SOME-SOME-KEY",

    "sendstreamertogeneral": true,
    "offline_toggle": 5
}
  • irc - holds ALL Irc connection settings
    • network - usually irc.twitch.tv
    • userName - justinfan12345 is an anon login, no password needed
    • password
      • usually oauth:SOMESTRING
      • connecting a Application to a known user with the chat scope parameter
      • blank when Justinfan-ing
  • twitch_client_id - obtained from Twitch Connections
  • slack_token - you are given this at Bot Creation in Slack Integrations
  • sendstreamertogeneral - send online/offline updates to #general
  • offline_toggle - number of minutes to wait before saying channel is offline 3-5 recommended

Channel Commands

Private groups in slack follow the format of #twitch_channelname

In such a private group channel you can run the following commands:

  • !stats
    • Game: GameName Viewers: Count Started: Time Up: Uptime: 0:00:00
  • !title
    • Title: StreamTitle Game: GameName

slackbot-twitch's People

Contributors

barrycarlyon avatar coolacid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

barrycarlyon

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.