mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
xd
This commit is contained in:
parent
66eeeee7dc
commit
325b244f92
|
@ -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)
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue