A modular Twitch bot made in Go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Larke 2c4d468459 Merge branches 1 year ago
.fleet Add new files 1 year ago
examples Add new files 1 year ago
.gitignore Merge branches 1 year ago
LICENSE Merge branches 1 year ago
README.md Merge branches 1 year ago
bot.go making it go gettable 2 years ago
builder.go making it go gettable 2 years ago
client.go making it go gettable 2 years ago
go.mod Add new files 1 year ago
parser.go making it go gettable 2 years ago

README.md

<<<<<<< HEAD

twitchbot-go

A modular Twitch bot made in Go

twitchbot

Go Twitch Bot Api wrapper, with an easy to use interface.

Example

package main

import (
	"github.com/witer33/twitchbot"
)

func main() {
	bot := twitchbot.NewBot("oauth:abcdef", "mybot", []string{"channel"})

	bot.OnMessage(func(bot *twitchbot.Bot, message *twitchbot.Message) {
		if message.Message == "!ping" {
			message.Reply("pong")
			message.Delete()
		}
	})

	bot.Run()
}

TODO: Migrate from python bot

  • Urban Dictionary definition requests, !urban and mod only, filter words
  • Standard Dictionary, !define to pull a max number of defintions (store in DB?)
  • Temperature, !temp to convert xF or xC values provided
  • Twitter Shoutouts, !tso obtain the given Twitch users probable twitter URL

TODO: New

  • Twitch Channel Point reactions (DB?)

main