read scoreboard using mineflyer

I’m having trouble retrieving scoreboard information using Mineflayer. It should write the entire scoreboard to the log, and the API documentation hasn’t been helpful. Could you provide guidance or point me to relevant resources?

Thanks