When my daughter was little and whined a lot, I repeated a poem to a tune:
Wendy whiner go away, come again another day. I said this over and over. To this day at age 14, if she whines, I just say Wendy. Worked like a charm for us.
I did the same with bossy. Bossy Betty go away and come again another day.