Documentation ¶
Index ¶
- Variables
- func AnnounceNewFollower(username string)
- func AnnounceSubscriber(sub helix.Subscription)
- func Chatter()
- func GetWhisper(message twitch.WhisperMessage)
- func Initialize() *twitch.Client
- func PrivateMessage(msg twitch.PrivateMessage)
- func Say(msg string)
- func UserJoin(joinMessage twitch.UserJoinMessage)
- func UserPart(partMessage twitch.UserPartMessage)
- func Whisper(username, msg string)
Constants ¶
This section is empty.
Variables ¶
View Source
var Uptime time.Time
Functions ¶
func AnnounceNewFollower ¶
func AnnounceNewFollower(username string)
AnnounceNewFollower makes a post in chat that a user follows the channel
func AnnounceSubscriber ¶
func AnnounceSubscriber(sub helix.Subscription)
AnnounceSubscriber makes a post in chat that a user has subscribed
func Chatter ¶
func Chatter()
Chatter is designed to post a randomized message on a timer. Right now it just posts random "help messages."
func GetWhisper ¶
func GetWhisper(message twitch.WhisperMessage)
if the message comes from me, then post the message to chat TODO: log to stackdriver
func Initialize ¶
func Initialize() *twitch.Client
Initialize returns a Twitch client struct with all of the various configuration in place.
func UserJoin ¶
func UserJoin(joinMessage twitch.UserJoinMessage)
this event fires when a user joins the channel
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.