mirror of
https://github.com/idanoo/NZCovidBot
synced 2025-07-03 04:02:14 +00:00
1.4 - Telegram support
This commit is contained in:
parent
07d0e82dff
commit
6e1c259d9e
10 changed files with 139 additions and 5 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue