IRC can actually be quite good. The main problem is the super outdated popular networks like libera.chat, but if your run your own IRC server with modern clients it works nicely (or you can use a good bouncer like Soju). Supplement it with a Mumble or Jitsi-meet server and you got at least a functional equivalent to Discord, even though of course not nearly as polished or easy to use as Discord.