mirror-nourybot/cmd/main.go

16 lines
224 B
Go
Raw Normal View History

2021-10-13 23:24:02 +02:00
package main
2021-10-13 23:29:29 +02:00
import (
"github.com/lyx0/nourybot/bot"
"github.com/lyx0/nourybot/config"
)
2021-10-13 23:24:02 +02:00
func main() {
2021-10-13 23:29:29 +02:00
cfg := config.LoadConfig()
nb := bot.NewBot(cfg)
nb.Join("nourybot")
nb.Say("nourybot", "test")
nb.Connect()
2021-10-13 23:24:02 +02:00
}