Yeah, what I'm saying is that companies are valuable or not based on their users (or what they earn) and not their software. Purchasing companies aren't paying X billion dollars for the code and assets. They are paying for the users. (Which, I also think is kind of obvious).
As proven by among others Zoom, Whatsapp and now Discord if you build good software people will switch to it. I think you're undervaluing how good the software is. They are 5 years old, started from 0 user base and now they are a huge player and getting bigger by the day. You would have a point if there was something remotely close in quality on the market but not as popular but there just isn't. Discord is the first communication platform which doesn't suck in some obvious way. If Microsoft manage to buy it for 10B and not mess it up it will be one of their best acquisitions.
And what about Slack, Zoom or Coinbase?
Are they $27B, $100B and $100B worth of software?
What company is $x billions of dollars worth of software where x is their valuation? Even Google almost certainly isn't $1.3T (!) worth of software.