A function that can show bot ping connection (Voice Channel)

Is there a way to create a bot command that can show us the bot ping connection when the bot is in a voice channel? I don't ask or mention about Websocket or API latency.
Was this page helpful?