Tesla/main.go
Matthieu 'JP' DERASSE 444d9b1563
All checks were successful
continuous-integration/drone/push Build is passing
feat(init): Start a bot for tesla
2023-06-05 13:59:39 +00:00

20 lines
337 B
Go

package main
import (
"git.dev.m-and-m.ovh/mderasse/tesla/alert"
"git.dev.m-and-m.ovh/mderasse/tesla/api"
"git.dev.m-and-m.ovh/mderasse/tesla/bot"
log "github.com/sirupsen/logrus"
)
func main() {
log.Info("Starting Tesla Alerter Bot")
alertChan := make(chan api.Availability)
go bot.Init(alertChan)
alert.Init(alertChan)
}