This commit is contained in:
lyx0 2021-10-13 21:51:43 +02:00
parent 66eeeee7dc
commit 325b244f92

View file

@ -42,3 +42,12 @@ func (b *Bot) Disconnect() error {
return err return err
} }
func (b *Bot) Say(channel string, message string) {
tc := b.newTwitchClient()
tc.Say(channel, message)
}
func (b *Bot) OnPrivateMessage(callback func(message *twitch.PrivateMessage)) {
log.Info(callback)
}