Migration to Tongo, new logic for user storage #3

Merged
nefrace merged 19 commits from tongo into master 2023-09-10 13:10:33 +03:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 765be0673b - Show all commits

View File

@ -37,6 +37,7 @@ func main() {
scheduler := gocron.NewScheduler(time.UTC)
tasker := echotron.NewAPI(token)
scheduler.Every(30).Seconds().Do(func() { kicker.TaskKickOldUsers(&tasker) })
scheduler.Every(30).Seconds().Do(func() { kicker.TaskNotifyUsers(&tasker) })
scheduler.StartAsync()
Bot.Start()
}