mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
chzzkHandler fix
This commit is contained in:
parent
20417745d4
commit
a3b69acc18
@ -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()}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user