getFirst

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

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

Throws

如果没找到