forked from DiscordBots/lilJudd
feat: removed the not needed status refreshes
Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
parent
390cd2a345
commit
89e6142ebf
2 changed files with 0 additions and 4 deletions
|
@ -178,9 +178,6 @@ object Bot {
|
||||||
|
|
||||||
// Make the bot update the status every 10 seconds
|
// Make the bot update the status every 10 seconds
|
||||||
JobManager.addJob(StatusUpdater)
|
JobManager.addJob(StatusUpdater)
|
||||||
// Update the status messages for the bot
|
|
||||||
StatusUpdater.refreshStatusList(System.currentTimeMillis())
|
|
||||||
|
|
||||||
|
|
||||||
//Start the bot
|
//Start the bot
|
||||||
bot.start()
|
bot.start()
|
||||||
|
|
|
@ -42,7 +42,6 @@ object Splatoon3ApiScheduleUpdateScheduler : ICronjob {
|
||||||
override suspend fun jobFunction() {
|
override suspend fun jobFunction() {
|
||||||
Logger.out("Running Splatoon3ApiScheduleUpdateScheduler.")
|
Logger.out("Running Splatoon3ApiScheduleUpdateScheduler.")
|
||||||
Splatoon3ApiCache.updateData(ApiDataType.SCHEDULES, ApiRequestType.AUTOMATIC_CACHE_UPDATE)
|
Splatoon3ApiCache.updateData(ApiDataType.SCHEDULES, ApiRequestType.AUTOMATIC_CACHE_UPDATE)
|
||||||
StatusUpdater.refreshStatusList(System.currentTimeMillis())
|
|
||||||
Logger.out("Splatoon3ApiScheduleUpdateScheduler finished.")
|
Logger.out("Splatoon3ApiScheduleUpdateScheduler finished.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue