mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
commit
74709a076d
@ -4,6 +4,7 @@ import applicationHttpClient
|
|||||||
import io.ktor.client.call.*
|
import io.ktor.client.call.*
|
||||||
import io.ktor.client.request.*
|
import io.ktor.client.request.*
|
||||||
import io.ktor.http.*
|
import io.ktor.http.*
|
||||||
|
import kotlinx.coroutines.delay
|
||||||
import kotlinx.serialization.Serializable
|
import kotlinx.serialization.Serializable
|
||||||
import space.mori.chzzk_bot.webserver.DiscordGuildListAPI
|
import space.mori.chzzk_bot.webserver.DiscordGuildListAPI
|
||||||
import space.mori.chzzk_bot.webserver.dotenv
|
import space.mori.chzzk_bot.webserver.dotenv
|
||||||
@ -57,6 +58,7 @@ object DiscordGuildCache {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
lastGuildId = guilds.last().id
|
lastGuildId = guilds.last().id
|
||||||
|
delay(300)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user