Complaining is not good for you. It would be nice if you had someone to remind you to stop when you’re complaining.
Have a smartphone app that monitors your speech patterns (intonation, pitch, words used etc.) When it detects you’re complaining it’ll alert you to stop.