From f618ec6a3cb5db91d9ffdd31b137b1267fae2c56 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Thu, 27 Aug 2020 16:45:14 -0400 Subject: [PATCH] Add reboot logging for time --- config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config.go b/config.go index ad68c52..e818401 100644 --- a/config.go +++ b/config.go @@ -163,6 +163,7 @@ func purgeTimer(s *discordgo.Session) { runPurge(s) saveConfig() if time.Since(lastActiveTime) > 4 * time.Hour && time.Since(startupTime) > 12 * time.Hour { + log.LogInfo("Restarting.") saveConfig() os.Exit(0) }