Skip to content

Commit

Permalink
fix some bugs 2(streamInfo get time fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
dalbodeule committed Jun 17, 2024
1 parent be84a73 commit eae675e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/kotlin/space/mori/chzzk_bot/chzzk/ChzzkHandler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ object ChzzkHandler {
val streamInfo = getStreamInfo(it.channel.channelId)
if(streamInfo.content.status == "OPEN" && !it.isActive) it.isActive(true, streamInfo)
if(streamInfo.content.status == "CLOSED" && it.isActive) it.isActive(false, streamInfo)
Thread.sleep(3000)
Thread.sleep(5000)
}
Thread.sleep(60000)
}
}.start()
}
Expand Down

0 comments on commit eae675e

Please sign in to comment.