twitchstreams

package
v0.0.0-...-48b2bb9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2018 License: AGPL-3.0 Imports: 11 Imported by: 1

Documentation

Overview

Package twitchstreams provides a way to notify about users streaming on Twitch.

There are two main features: - Poll a list of usernames and notify to channels when they start streaming. - A channel trigger to look up the streaming status of users.

Setup: - Register an application on the Twitch developers site and get a Client ID. - Set the client ID in the configuration with key "twitchstreams-client-id"

Configuration options:

  • twitchstreams-channels - A space separated list of channels to notify about when one of your default users starts streaming
  • twitchstreams-client-id - Your application's client ID. Register it on the developer site.
  • twitchstreams-users - Users to notify about when they start streaming. Also the default list of users when you use the !twitch trigger without a username.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hook

func Hook(c *godrop.Client, m irc.Message)

Hook fires when an IRC message of some kind occurs.

Types

type Stream

type Stream struct {
	Username string
	Title    string
}

Stream describes an active stream

func (Stream) String

func (s Stream) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL