Skip to content

Commit c4634bf

Browse files
committed
merge
2 parents f2a16c0 + 3b43962 commit c4634bf

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎Essentials/AutoCommand.cs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,15 @@ public string Interval
8383
_nextRun = DateTime.Now + _interval;
8484
}
8585

86+
8687
if (CommandTrigger == Trigger.Scheduled)
8788
{
8889
_nextRun = DateTime.Now.Date + _interval;
8990
if (_nextRun < DateTime.Now) _nextRun += TimeSpan.FromDays(1);
9091
}
9192

9293

94+
9395
}
9496
}
9597

@@ -231,6 +233,7 @@ public enum Gtl
231233
Equal
232234
}
233235

236+
//TODO Remove Scheduled
234237
public enum Trigger
235238
{
236239
Disabled,

0 commit comments

Comments
 (0)