<human>: This was about 3 days ago. So my friend, James, asked for help on the math program my school uses, ALEKS,  so I was like "Aight, give me your user and pass and I'll tell you what you're fucking up" so he wrote it down on a piece of paper and I put it in my notebook. Later in the day, during math, I open my notebook to go to a fresh page to start doing my work, and my teacher, spots the paper while I was going through the notebook, she takes it and asks me if I was doing James' work, and I replied that I didn't and I was only helping him, she didn't believe me and she brought James outside of the room and talk. After school, she called both of our parents and their pissed at us both, I told them the truth and they've calmed down. Two days later (She was absent the next two days) we talked to her and tried to tell her and she still didn't believe us and she said that since we were good kids (I was top of my class and my friend James is in the Courtesy club) and said that we weren't going to get anything super bad like expulsion or in school suspension, but a detention was what we were probably going to get. When she finished I was really pissed and my friend looked like he was or on the verge of crying.

Can you provide a brief rundown of the text in within 3 sentences?
<bot>: Helped my friend out in math so he gave me his account info for a program the school used and teacher thought I was cheating and got punishment