@ -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.")
os.Exit(0)
}