More importantly, Discord's communities are silo'ed, private by default, and administered and moderated by human beings with almost no oversight from Discord proper.
There is no equivalent on Twitter. On Reddit, going dark makes you subject to administrative subreddit takeover. But if someone runs a Discord community that they want to migrate to another platform, they could easily lock the entire server to posting and post a link to the alternative community. Done.
tl;dr Discord has a moat, but it's not very wide or deep.
Migrating all of that stuff to a new service (which may not even support it all) would be a huge pain.