A woman whose dog was found severely emaciated and covered in faeces has been banned from owning animals for 10 years.