The context of the following conversation is Lee sent the students who were misbehaving by throwing balls to the principal's office as an example to the others who were supposed to be studying their materials.:
Lee says Students can be so disrespectful..
The friend responds How were the students disrespectful?.
Lee responds They kept throwing balls while I was teaching..
The friend responds What did you do about it?.
Lee responds I sent them to the principal's office, the kids have to know that's unacceptable when they're supposed to be studying..
The friend responds Hopefully everyone learned not to misbehave..