getFirstOrNull

open fun <T : BotManager<*>> getFirstOrNull(type: Class<T>): T?(source)

寻找第一个指定类型的 BotManager,或得到null。