twitchbotex

command module
v0.0.0-...-7ab68ef Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: MIT Imports: 2 Imported by: 0

README

TwitchBotEx

This is an example project that utilizes the bot package. You can read my walkthrough of bot and/or grab it with go get...

$ go get github.com/foresthoffman/twitchbotex

TL;DR

Add a private/oauth.json file next to main.go, and put the OAuth token you receive from Twitch's OAuth Generator into the private/oauth.json file with the key "password".

e.g.

{
	"password": "oauth:secretsecretsecretsecretsecret"
}

Then, open main.go and replace the Channel and Name values with your own. Channel must be lowercase.

Build and run:

$ go fmt ./... && go build && ./twitchbotex

That's all, enjoy!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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