In a lot of places it is illegal to disturb a bat colony...check your
local jurisdiction. Also, depending on where you are and the type of bat, they may be migratory, and leave as the weather cools for a warmer location. Ideally, this is your situation and all you have to do is wait a few more weeks and they will leave, allowing you to secure the building.
Enlisting the help of a local bat expert to help identify type of bat, it's migratory potential and the colony size would be your best first step.
If possible, film the nightly emergence so you can pinpoint ALL their exit points (doing the same when the "go home" is ideal) and the size of the colony (count them). This allows you to determine what exactly you are dealing with and where you need to secure the building.
Assuming it is legal, you have a few options, although they are all finicky and a bit labor intensive.
Method one: install an appropriately sized Bat Box that will ideally house the entire colony in one box and locate this somewhere on your property so you can still benefit from their bug catching prowess.
If possible locate it on the house or very nearby - note the location, height and orientation of the portion of the house they use and replicate it (they carefully choose a specific number of sun hours/wind to meet their thermal needs).
Method Two: using "bird netting" (monofilament mesh, 1cm squares) and fully secure it to the roof and building edges so it drapes down at least 10 feet. This allows them to leave (they will climb down the inside of the mesh) but they usually seek their normal entrances and do not understand how to climb the UNDERSIDE of the netting to access the attic. In your specific instance it may need to be tacked down at intervals along the bottom so there is no more than a few inches open for escape.
Method Three: Block all but one of the access points, create a tunnel of mesh or fabric that funnels the bats into a ventilated container. Once no bats have emerged for 20 minutes seal container (to prevent escape, but maintain ventilation) and relocate IF LEGAL IN YOUR AREA.
All methods must be repeated for several nights to ensure everyone is out, followed by a very careful inspection of the attic space before permanently sealing the access points.
Depending on your location various diseases may be present in the colony, of greatest importance is the possibility of rabies (a young man died here a month ago after swatting a bat - never realized he had been bit/scratched and never sought prophylactic treatment - by the time they figured out what his illness was the treatment window had closed). The other big one is a fungus called white nose disease that is devastating bat populations in North America and is highly contagious, bat to bat. This is why in many jurisdictions relocation is illegal.
Let's assume no eviction was required and they migrated south...now you must secure the building and clean up the mess. Please use proper breathing protection and suitable, disposable coveralls when dealing with fecal matter of any type, in an enclosed environment. Bag all contaminated insulation, and dispose in a manner that is legal in your jurisdiction.
In MOST cases, suitable caulking will be your tool of choice to seal their entrances. For larger openings, hardware cloth (galvanized metal mesh, 1cm squares) installed with SCREWS through a sandwich of house/mesh/wood.
Good luck!