A first shock from an ICD is almost always unexpected. If you felt well before and after the shock, and have not had palpitations lightheadedness, dizziness or shortness of breath, then you don't necessarily need the device interrogated. If not then contact the implanting cardiologist and have the device checked.
Your medications are appropriate, but you should not be drinking alcohol in large quantities with these as alcohol may induce your liver's detoxifying ability for these drugs and hence lower serum levels causing the shock. Sotalol is partly metabolized by the liver, as are most beta blockers.
Why don't You start feeding healthier,like going vegetarian or smthng?That can really help.
I'm sure you will get a response from the doctor on this site but have you had your ICD interrogated since your shock? If not, then I would suggest that you do right away to find out what your heart was doing before the shock. Only your doctor can tell you what has happened by looking at the info from your ICD.
Take care