Worst diarrhea ever, don't know if it's pre labor or bad food

Nicole
So I just ate chili for dinner and immediately had to go to the bathroom. Had horrible stomach cramps and was stuck to the toilet for an hour. Idk if this is my body cleaning itself out or from eating the chili. I'm 38w4d. I may have loss my mucus plug also but I'm not too sure. It wasn't bloody or anything.