mirror of
https://github.com/Floriansylvain/GObot.git
synced 2026-08-19 11:43:16 +02:00
22 lines
242 B
Go
22 lines
242 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/Floriansylvain/GObot/bot"
|
|
"github.com/Floriansylvain/GObot/config"
|
|
)
|
|
|
|
func main() {
|
|
err := config.LoadConfig()
|
|
|
|
if err != nil {
|
|
fmt.Println(err.Error())
|
|
return
|
|
}
|
|
|
|
bot.Start()
|
|
|
|
select {}
|
|
}
|