Add immediate flag to timers

This commit is contained in:
2023-11-07 15:06:11 +01:00
parent 7f020dd179
commit 2e86d98cc1
2 changed files with 2 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ client.on(Events.ClientReady, () => {
timer.tick(client, timer);
}, timer.timeout);
timer.instance = timerInstance;
if (timer.immediate) { timer.tick(client, timer) }
}
});