You're seeing just the function
connect_to_gateway, go back to Nostrum.Voice module for more information.
Low-level. Manually connect to voice websockets gateway.
This function should only be called if config option
:voice_auto_connect is set to
By default Nostrum will automatically create a voice gateway when joining a channel.