I don't know what to say... poor Onyx and poor you

I was also thinking about some repellant to spray on the cords.
And if he does it when you are present, you can try to dissuade him with a water spray, but I imagine he chews the cords especially when you are not home?

I have also seen these encasements to hide cords.

I hope something works.