GithubHelp home page GithubHelp logo

laurentdumont / twitch-notify-slack-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jcurbo/twitch-notify-slack-bot

0.0 2.0 0.0 8 KB

Simple bot that notifies a Slack channel when a Twitch stream goes live.

License: MIT License

Python 100.00%

twitch-notify-slack-bot's Introduction

twitch slack notification bot

This is a simple bot that notifies your Slack and Discord channel(s) when people start streaming on Twitch.

Requirements & Configuration

It's written in Python 3 and the only external dependency is the 'requests' library.

Copy 'bot.ini.example' to 'bot.ini' and modify as necessary. You'll need to setup Slack and Discord incoming webhooks, as well as obtain a Twitch client-ID. (Twitch no longer allows API access without a client ID.)

Note for Discord: make sure you use the Slack-compatible webhook URL.

Usage

Run main.py, preferably within a screen or tmux instance. It will poll your chosen list of users every 60 seconds looking for changes. To exit simply hit ctrl-C.

To Do

Currently I'm using this in both Slack and Discord so it assumes both webhooks exist. I need to add checking to see if one or the other webhook config items are blank and send messages accordingly.

Author

James Curbo [email protected]

twitch-notify-slack-bot's People

Contributors

jcurbo avatar

Watchers

James Cloos avatar Laurent Dumont avatar

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.