I have been up all night with diarrhea, nausea, leg, feet and hand spasms. Right when I'm fixing to fall asleep, my hands start spasming What's wrong?

Spasms and diarrhea. It seems likely that you are fluid depleted and salt depleted and potassium depleted - all from diarrhea and inadequate oral intake of fluid and electrolytes; as able, sip fluid frequently, and replete minerals with a Gatorade like fluid; taking fruit juice and salt will help; if you are not able, and symptoms continue, IV fluid may be valuable.