chzzkHandler fix

This commit is contained in:
dalbodeule 2024-08-15 17:35:45 +09:00
parent 20417745d4
commit a3b69acc18
No known key found for this signature in database
GPG Key ID: EFA860D069C9FA65

View File

@ -94,7 +94,6 @@ object ChzzkHandler {
val streamInfo = getStreamInfo(it.channel.channelId)
if (streamInfo.content?.status == "OPEN" && !it.isActive) {
try {
if(it.channel.isBroadcasting)
it.isActive(true, streamInfo)
} catch(e: Exception) {
logger.info("Exception: ${e.stackTraceToString()}")
@ -123,7 +122,6 @@ object ChzzkHandler {
val streamInfo = getStreamInfo(it.channel.channelId)
if (streamInfo.content?.status == "OPEN" && !it.isActive) {
try {
if(it.channel.isBroadcasting)
it.isActive(true, streamInfo)
} catch(e: Exception) {
logger.info("Exception: ${e.stackTraceToString()}")