Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a stream live NOW status checker #78

Merged
merged 2 commits into from
Sep 4, 2017
Merged

Conversation

purrplingcat
Copy link
Owner

@purrplingcat purrplingcat commented Sep 2, 2017

Plugin: Nextstream

Feature story

This add function to plugin Nextstream for checking if your stream is live now or not. After stream status changed ONLINE<->OFFLINE, bot announce a message about stream status with stream informations to a announce channel specified by you.

Function checks status every x seconds (define by you in conf, default is 300s (5m)))

Command !livenow prints a current stream state to a channel on Discord.

Example config

"twitch": {
		"twitch_token": "k7d809abc3r28buu2d6887xxg83r23",
		"twitch_channel_name": "purrplingcat",
		"twitch_channel_id": "125991922",
		"twitch_stream_checker": {
			"enabled": true,
			"interval": 300,
			"announceChannelId": "323516538378256395"
		}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant