It doesn't even need to bite you. Licking, scratching, anything that results in saliva contact is a candidate for rabies transmission. If you come into contact with a bat or may have come into contact with a bat or other wild animal, go get your vaccination.
You typically have some time to do so but earlier is always better.