getSelfId()); Console::debug("Constructing AllBotsProxy for ZMRobot({$bot_id})"); return new Proxies\AllBotsProxy($bot); } /** * 获取一个会在所有群上执行的代理 */ public function allGroups(Proxies\AbstractBotProxy $proxy = null): Proxies\AllGroupsProxy { $bot = $proxy ?: $this; $bot_id = implode_when_necessary($bot->getSelfId()); Console::debug("Constructing AllGroupsProxy for ZMRobot({$bot_id})"); return new Proxies\AllGroupsProxy($bot); } }