in an unsatisfactory, inadequate, or unsuccessful way
England have played badly this year
the war was going badly
used to emphasize the seriousness of an unpleasant event or action
the building was badly damaged by fire
in a guilty or regretful way
I felt badly about my unfriendliness