Hard to say if anything serious happened, but it sounds like your snake is probably gonna be fine. I would just keep an eye out for any bleeding from the mouth and strange sounds when breathing and if so, take it to a vet.