Skip to content
Prev Previous commit
Next Next commit
merge
  • Loading branch information
N1Ran committed Feb 15, 2021
commit c4634bf72e106e25772bcfefc468e8bb18d932de
2 changes: 2 additions & 0 deletions Essentials/AutoCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,15 @@ public string Interval
_nextRun = DateTime.Now + _interval;
}


if (CommandTrigger == Trigger.Scheduled)
{
_nextRun = DateTime.Now.Date + _interval;
if (_nextRun < DateTime.Now) _nextRun += TimeSpan.FromDays(1);
}



}
}

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.