The context of the following conversation is Bailey wouldn't stop talking to their friend in class. Bailey prevented the class from going.:
Bailey says I was having a deep conversation with my friend then the teacher came in..
The friend responds Did you get in trouble?.
Bailey responds Yeah I kind of did.  My teacher told me I was holding the class up by talking so he didn't take us on the trip..
The friend responds Wow.  That's horrible..
Bailey responds I felt like that was my punishment.  The class was so mad at me..
The friend responds Did you learn your lesson?.