1.4 - Telegram support

This commit is contained in:
Daniel Mason 2022-01-22 12:42:24 +13:00
parent 07d0e82dff
commit 6e1c259d9e
10 changed files with 139 additions and 5 deletions

View file

@ -24,6 +24,9 @@ func main() {
// Fetch slack webhooks
nzcovidbot.SlackWebhooks = strings.Split(os.Getenv("SLACK_WEBHOOKS"), ",")
// Fetch slack webhooks
nzcovidbot.TelegramTokens = strings.Split(os.Getenv("TELEGRAM_BOT_TOKENS"), ",")
// Boot up listeners / main loop
nzcovidbot.Lesgoooo()
}