How long before the service closes the connection.
Disconnect from voice in guild, if currently in a channel.
Guild id of which guild to disconnect from if in a voice channel.
Gets an existing voice connection.
getOrCreateConnectionForGuild
unless you want this to failGuild id to lookup voice connection for.
Gets or creates an existing voice channel.
Will disconnect if inactive for DisconnectAfterInactiveForDuration seconds.
Guild id to lookup voice connection for.
Channel to join if connection does not exist.
Add a callback to be called when this service disconnects from a channel.
Guild id of which guild to subscribe to.
Callback that will be called when voice channel is disconnected to.
Manages mapping guild to it's respective voice connection.
Singleton.