I think it's people, more than snakes, who dislike the rain. as long as it doesn't cause the temerature to drop too much.

I've caught Grass Snakes (Natrix natrix helvetica) in the rain, the rain brought the frogs out, which in turn got the snakes hunting.