whenBot

inline fun <T> Chat.whenBot(block: (Bot) -> T): T?