Forums sometimes do have (crappy) live chat experiences. Their main selling point is that they have easily searchable, indexable, and navigable threads that are usually pretty well organized into distinct topics.
The UX on Discord is excellent. That's why so many people, including nerds that used to happily use IRC and Mumble, use it. It's easy to create your own server, administer it with granular permissions, and to invite your friends to it. You can instantly start voice and video calls with screen sharing, for free. It's also a live chat with excellent formatting capabilities and has multiline support, unlike IRC (unless this has changed recently?), which makes it much better suited for technical questions involving code. Oh, it also has actual code formatting built in so it's actually legible (though this remains a feature underutilized).
The problem with discord is it's just not visible outside of discord, it can't be indexed, archived and searched through other means, and is vulnerable to the whims of the server owner. It's also not very good at being a forum replacement because its threading capabilities and UI wasn't designed for that purpose, so it feels bolted on (because it is).