Request: terminal alerts as notifications

I’ve noticed that terminal alerts (bells, flashes) appear as a red dot on the icon. It would be really handy to have these alerts trigger an actual system notification. Obviously, this would be annoying in the general sense - but I’d find it useful for my irc client which flashes the screen for various reasons when I’m not paying attention.