Skip to content

Commit

Permalink
mda
Browse files Browse the repository at this point in the history
  • Loading branch information
MagM1go committed Nov 1, 2024
1 parent 0307964 commit 3e3e4c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/top/boticord/BotiCordClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ public class BotiCordClient(
botId: Long,
body: AutopostBody.() -> AutopostBody
) {
val builtBody = body(AutopostBody)

scope.launch {
while (isActive) {
val builtBody = body(AutopostBody)

update(botId, builtBody.memberCount, builtBody.shardCount, builtBody.guildCount)
delay(10_000L)
}
Expand Down

0 comments on commit 3e3e4c9

Please sign in to comment.