mirror-nourybot/cmd/bot/whispermessage.go

10 lines
305 B
Go
Raw Normal View History

2022-08-07 01:34:31 +02:00
package main
import "github.com/gempir/go-twitch-irc/v3"
func (app *Application) handleWhisperMessage(message twitch.WhisperMessage) {
// Print the whisper message for now.
// TODO: Implement a basic whisper handler.
app.Logger.Infof("[#whisper]:%s: %s", message.User.DisplayName, message.Message)
}