My favorite slack alternative is Zulip; IMO it's got a much superior model; it's as much a real-time forum as chat. It makes threads first class citizens rather than the ugly hack they added in slack.
And it's open source, so it's decentralized in that many people host their own. It's not federated though.