In the Old Testament God spoke through a bunch of people.
And we know about it because it was recorded for us in the scriptures..