Skip to content

A simple bot todo cool things with slack and twitch

Notifications You must be signed in to change notification settings

coolacid/slackbot-twitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple bot todo cool things with slack and twitch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published