None of that actually solves the distractions problem really. The fact is that using slack makes it worse.
I've actually tried a lot of the solutions talked about here and none of them actually work.
Software like slack is literally designed to make people interrupt you and pull you away from productive tasks.