mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
commit
599a532d81
@ -94,8 +94,7 @@ object ChzzkHandler {
|
||||
val streamInfo = getStreamInfo(it.channel.channelId)
|
||||
if (streamInfo.content?.status == "OPEN" && !it.isActive) {
|
||||
try {
|
||||
if(it.channel.isBroadcasting)
|
||||
it.isActive(true, streamInfo)
|
||||
it.isActive(true, streamInfo)
|
||||
} catch(e: Exception) {
|
||||
logger.info("Exception: ${e.stackTraceToString()}")
|
||||
}
|
||||
@ -123,8 +122,7 @@ object ChzzkHandler {
|
||||
val streamInfo = getStreamInfo(it.channel.channelId)
|
||||
if (streamInfo.content?.status == "OPEN" && !it.isActive) {
|
||||
try {
|
||||
if(it.channel.isBroadcasting)
|
||||
it.isActive(true, streamInfo)
|
||||
it.isActive(true, streamInfo)
|
||||
} catch(e: Exception) {
|
||||
logger.info("Exception: ${e.stackTraceToString()}")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user