debug some codes.

This commit is contained in:
dalbodeule
2024-08-10 00:39:23 +09:00
parent 9a91537e59
commit b12e29674a
4 changed files with 28 additions and 1 deletions

View File

@@ -54,6 +54,9 @@ object ChzzkHandler {
addUser(channel, user)
}
}
dispatcher.subscribe(CommandReloadEvent::class) {
handlers.firstOrNull { handlers -> handlers.channel.channelId == it.uid }?.reloadCommand()
}
}
fun disable() {