mirror-nourybot/cmd/bot/whispermessage.go

14 lines
388 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.
2022-08-07 03:09:09 +02:00
app.Logger.Infow("Whisper Message received",
2022-08-07 03:17:29 +02:00
"message", message,
2022-08-07 03:09:09 +02:00
"message.User.DisplayName", message.User.DisplayName,
2022-08-07 04:35:03 +02:00
"message.Message", message.Message,
)
2022-08-07 01:34:31 +02:00
}