AnnounceAppointmentSoon

This commit is contained in:
daru
2022-07-18 18:01:24 +02:00
parent ecba4d68e6
commit 10a563bb23
2 changed files with 49 additions and 1 deletions

View File

@@ -38,6 +38,9 @@ func Arbeit() {
} else {
cleared++
}
} else if a.Time.Add(time.Hour).Before(time.Now()) {
// This is happening soon
AnnounceAppointmentSoon(&a)
}
}
if cleared > 0 {