fix: StatusUpdater now starts after the bot is online
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
89e6142ebf
commit
daf3ed0c21
1 changed files with 2 additions and 3 deletions
|
@ -163,6 +163,8 @@ object Bot {
|
|||
bot.kordRef.on<ReadyEvent> {
|
||||
AvailabilityManager.runThread() // Update Availabilities
|
||||
MatchManager.update() // Update Matches
|
||||
// Make the bot update the status every 6 seconds
|
||||
JobManager.addJob(StatusUpdater)
|
||||
}
|
||||
|
||||
// Update the Splatoon 3 api data and make sure it stays up-to-date
|
||||
|
@ -176,9 +178,6 @@ object Bot {
|
|||
//JobManager.addJob(Splatoon3ApiFestivalAndCoopUpdateScheduler)
|
||||
//JobManager.addJob(Splatoon3ApiSplatnetGearUpdateScheduler)
|
||||
|
||||
// Make the bot update the status every 10 seconds
|
||||
JobManager.addJob(StatusUpdater)
|
||||
|
||||
//Start the bot
|
||||
bot.start()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue