init commit with sending hello world xmpp message

This commit is contained in:
Txrpe
2024-11-18 00:27:56 +01:00
commit c868f76681
5 changed files with 123 additions and 0 deletions

14
main.go Normal file
View File

@@ -0,0 +1,14 @@
package main
import (
"gitea.dmz.rs/txrpe/event-bot/chatbot"
"log"
)
func main() {
nkbot, err := chatbot.NewEventBot()
if err != nil {
log.Fatal(err)
}
nkbot.SendMessage("Cao svete")
}