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) }