mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-08 23:08:20 +00:00
if account deleted?
This commit is contained in:
parent
22d97c6604
commit
8ab1dc585e
@ -40,7 +40,11 @@ object ChzzkHandler {
|
||||
botUid = chzzk.loggedUser.userId
|
||||
UserService.getAllUsers().map {
|
||||
if(!it.isDisabled)
|
||||
chzzk.getChannel(it.token)?.let { token -> addUser(token, it) }
|
||||
try {
|
||||
chzzk.getChannel(it.token)?.let { token -> addUser(token, it) }
|
||||
} catch(e: Exception) {
|
||||
logger.info("Exception: ${it.token}(${it.username}) not found. ${e.stackTraceToString()}")
|
||||
}
|
||||
}
|
||||
|
||||
handlers.forEach { handler ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user