Personally I prefer Discord for community chat because search is not limited to the past 10k messages. I wouldn't trust Discord for work chat (weak privacy). For work chat I prefer self-hosted e.g. mattermost.
For privacy, Discord has a bad track record, so as a business, I'd choose Slack over Discord. But I definitely prefer self-hosting communications infrastructure.