Skip to content

A Bot that queries Twitch for broadcasting Channels and posts to a Slack Webhook

Notifications You must be signed in to change notification settings

kidtsunami/Twitch-Broadcasting-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitch Broadcasting Bot

A bot that queries Twitch and posts to a Slack WebHook when a channel has started broadcasting.

Circle CI

Environment Variables

Name Description Example
CHANNELS_TO_CHECK Comma delimited list of twitch channels to check to see if they are broadcasting halo,thekidtsunami
SLACK_WEBHOOK_URL The full url of the slack webhook to post status updates to https://hooks.slack.com/webhookpath
TWITCH_BASE_URL The base url of the twitch API, should be their kraken one... https://api.twitch.tv/kraken/
TWITCH_CLIENT_ID Client ID for registered Twitch Application (Register at https://www.twitch.tv/settings/connections)
REDIS_URL The url for Redis (Blank in a local environment...)

Suggested Development Environment

This was originally developed on Mac OS X (10.11.3) using VS Code. VS Code is a free IDE from Microsoft that is... pretty cool.

They have a wonderful page for NodeJS Applications with VS Code.

Depends on

Redis

Using redis to store the state so the bot only posts about changes in the state of channels.

Redis Quickstart

Bluebird

Uses Bluebird for Promises

About

A Bot that queries Twitch for broadcasting Channels and posts to a Slack Webhook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published