Not really a "funny" story. More of a "I acted like a smart ass and paid the price for it." type story.
It's not really BS, she told you to put the coins away, you've already gotten in trouble for your other things. So it's pretty much fair game for her to give you detention. It's not the end...