Details are important. As is time that has passed (or not). It is impossible to say.
Pilots & their mental health are caught in flux right now at OKC regarding mental health & drugs used to treat depression, etc. That is especially true after the pilot in the jump seat tried to kill the engines while in flight (He was self-medicating depression with shrooms). That incident brought mental health issues for pilots to the fore with the public & Congress. Finding young people to begin training who haven’t been prescribed Ritalin for ADHD in the past has been a barrier as well.
the FAA OKC is a dinosaur regarding this issue, far behind in both outlook & in keeping up with the latest drugs (for many conditions, not just mental health). They’re getting finally getting the message that forcing pilots underground with their struggles for fear of losing their medicals is way more dangerous than treating them & keeping them flying.
your only solution is it schedule an “advisory” exam with an FAA medical examiner (do not fill out the online form, but print it & take it with you).