There is no way macro or even addon that will cast based on if cooldown is up or not. Blizzard removed this ability years ago.

This is a common issue with folks who have macro's that /use trinkets before spell casting. Turn off the error voice in sound options and download errormonster to hide the error messages. There is a command that will hide the errors and you can put it in the macro but I love ErrorMonster and use it as much as possible.

The chime sound is another issue entirely there are ways to shut that off as well.