feat: removed the not needed status refreshes

Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
moonleay 2023-10-05 11:53:18 +02:00
parent b13c2e5f5f
commit 85602038e9
2 changed files with 0 additions and 4 deletions

View file

@ -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()

View file

@ -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.")
} }
} }