getAnyBot

fun getAnyBot(component: Component? = null): Bot

尝试获取任意一个 BotManager 下的任意一个 Bot。如果无法获得任何元素则抛出 NoSuchElementException

Parameters

component

可以提供一个组件信息。默认为null

Throws

如果无法获得任何元素