def send_init(server_id, bot_user_id, session_id, token)
      @client.send({
        op: 0,
        d: {
          server_id: server_id,
          user_id: bot_user_id,
          session_id: session_id,
          token: token
        }
      }.to_json)
    end
def send_init(server_id, bot_user_id, session_id, token)
      @client.send({
        op: 0,
        d: {
          server_id: server_id,
          user_id: bot_user_id,
          session_id: session_id,
          token: token
        }
      }.to_json)
    end
Makes a new voice websocket client, but doesn't connect it (see {#connect} for that)
 @param channel [Channel] The voice channel to connect to
 @param bot [Bot] The regular bot to which this vWS is bound
 @param token [String] The authentication token which is also used for REST requests
 @param session [String] The voice session ID Discord sends over the regular websocket
 @param endpoint [String] The endpoint URL to connect to
 Send a connection init packet (op 0)
 @param server_id [Integer] The ID of the server to connect to
 @param bot_user_id [Integer] The ID of the bot that is connecting
 @param session_id [String] The voice session ID
 @param token [String] The Discord authentication token