wechatgpt/main.go
2022-12-12 21:30:56 +09:00

16 lines
247 B
Go

package main
import (
"github.com/wechatgpt/wechatbot/bootstrap"
"github.com/wechatgpt/wechatbot/config"
)
func main() {
err := config.LoadConfig()
if err != nil {
panic(err)
}
go bootstrap.StartTelegramBot()
bootstrap.StartWebChat()
}