Woman sentenced to 20 years for warning shot