Hi and Welcome,
I used alcohol to self-medicate too. It could be that your depression will left once you stop drinking. Alcohol is a depressant and can make things worse. Are you taking medication for depression and/or bipolar disorder? I had to get my depression treated before I was able to be motivated to stop drinking.
Please talk to your dr before continuing to detox. It can be very dangerous to detox from alcohol.