Have you tried ye olde spray bottle trick? You know, squirting her when you catch her doing it? If you don’t want to make the cords taste bad with bitter apple, which would be my recommendation due to the dangerousness of chewing electrical cords, you have to make it unpleasant. I had a rabbit that electrocuted himself after chewing through a lamp cord (thankfully, he was fine), so I’m pretty wary of this particular habit.