whenCommonEvent

inline fun <T> ChatEvent.whenCommonEvent(block: (CommonEvent) -> T): T?