mirror-nourybot-matrix/cmd/bot/events.go
2024-01-10 18:32:29 +01:00

10 lines
264 B
Go

package main
import "maunium.net/go/mautrix/event"
func (app *application) ParseEvent(evt *event.Event) {
// TODO:
// Log the events or whatever, I don't even know what events there all are rn.
app.Log.Info().Msgf("Event: %s", evt.Content.AsMessage().Body)
}