It was your friend who initiated an attack on the snake. If you believe you have the right to self defend, the snake deserves the same. So no, your friend wasn't attacked.
Gee, ya think? Obviously the humor of the story was way, way over your head.............Not surprising.