Interval Hanlde missing
This commit is contained in:
1 parent
78e5c19614
commit
bad6a31b11
2 files changed
+22
-2
No files matched your search
@@ -143,7 +143,17 @@
|
||||
|
||||
bot.eventHandler.raiseEvent("Close Log File");
|
||||
|
||||
loop();
|
||||
let intervalHandle;
|
||||
|
||||
if (bot.runAtFixedInterval === true) {
|
||||
|
||||
intervalHandle = setInterval(loop, bot.fixedInterval);
|
||||
|
||||
} else {
|
||||
|
||||
loop();
|
||||
|
||||
}
|
||||
|
||||
function loop() {
|
||||
|
||||
|
||||
Reference in new issue
Block a user