Skip to content

Those are two "Extensions" written for the discord.py library to send a Message in a Channel whether someone goes live.

Notifications You must be signed in to change notification settings

klappstuhlpy/Twitch-Youtube-Live-Notification-Extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Twitch-Youtube-Live-Notification-Extension

Those are two "Extensions" written for the discord.py library where the Bot automatically sends a Message as soon as a user/channel entered in the config file goes live.

Setup

Example Folder Hierarchy

This is Important for the part in the Code where to access your "config.json" File.:

YourBotFolder <- Second "parent" folder
    - cogs  <- First "parent" folder
        - twitch.py
        - youtube.py
    - main.py
    - config.json

API Keys?

To authorize the HTTP Requests that need to be done in order to Access the Twitch and YouTube API, you need to generate some Authorization Keys.

Twitch

To get a Client ID and a Client Secret, you need to got to https://dev.twitch.tv/console/extensions and create a new Extension.

YouTube

In order use the Youtube Data v3 API you have to generate an API Key in the Google Cloud Protal at https://console.cloud.google.com/.

Important:

Do NOT set the Task Loop checking from YouTube Notifications lower than 15 Minutes because of the Rate Limits of YouTube. More Information over at: https://developers.google.com/youtube/v3/determine_quota_cost

About

Those are two "Extensions" written for the discord.py library to send a Message in a Channel whether someone goes live.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages