galched-bot/modules/twitchat/handlers.go

17 lines
244 B
Go
Raw Normal View History

package twitchat
import (
"github.com/gempir/go-twitch-irc/v2"
)
type (
Responser interface {
Say(channel, message string)
}
PrivateMessageHandler interface {
IsValid(string) bool
Handle(m *twitch.PrivateMessage, r Responser)
}
)