mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-08-07 12:51:13 +00:00
fix some bugs 2(streamInfo get time fix)
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user