mirror of
https://github.com/lyx0/nourybot-matrix.git
synced 2024-11-13 19:49:54 +01:00
12 lines
269 B
Go
12 lines
269 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)
|
||
|
}
|