Default Stuck in loop

I flashed the newest nightly of cm11 for my htc one and everything was working great. All of a sudden today it shut down and rebooted and was stuck in a reboot loop showing the htc logo start screen and it kept restarting and showing that screen. After many reboots, the screen shut off and now it won't charge, I cant reboot and it wont reboot into recovery. What can I do to fix my phone?