Feature update at2 am #13
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
|
@ -208,8 +208,8 @@ func scheduleTimetableUpdate() {
|
||||||
// Get current time to filter any changes to Timetable before 3am so the new day changes stop
|
// Get current time to filter any changes to Timetable before 3am so the new day changes stop
|
||||||
//
|
//
|
||||||
now := getTime()
|
now := getTime()
|
||||||
// If before 3am stop and update userdata
|
// If before 1am stop and update userdata
|
||||||
if now.Hour() < 3 {
|
if now.Hour() < 1 {
|
||||||
prevData[acc.UserID] = data
|
prevData[acc.UserID] = data
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue