Skip to content

CyborgShadow/cybot

Repository files navigation

cybot

A Twitch bot coded in GoLang

Usage:

You can either:

Build it yourself

Option 1: Use our Docker Container

If you're unfamiliar with docker, go here

I use a docker container with a prebuilt environment and lots of goodies to work in go.
To copy my dev repo, simply cd into the godev directory and run ./build.sh, then ./run.sh.
It'll create the container and be placed into it!

Edit the twitch_credentials.toml.template file.
Fill in the variables. If you don't know how to get your twitch Oauth token, go here!
Rename it to twitch_credentials.toml

Run: ./build_linux.sh

Then run it with:
./cybot

Option 2: Build your own dev environment

You'll need

BurntSushi's Go Toml library
inconshreveable's log15 go logger
sorcix irc controller
mudler's sendfd

Depending upon your OS, run one of:
Linux: ./build_linux.sh
Mac: ./build_darwin.sh
Windows: ./build_windows.bat

Then run it with:
./cybot (cybot.exe for windows)