From what I can tell they are working on updating their electron version to one that is aware of pipewire, this is the first part of solving the issue (especially for Wayland folks), the second part is just fixing some code in the client to deal with that and then it should be fixed until we deprecate pipewire in 2079. Additionally it would make discord finally act as a native Wayland app instead of being forced in xwayland.
They could bother with pulse, but IDK how portable the API for that is, also discord working on Linux is more accidental and this getting fixed might just be because they want it fixed on the Mac side too.
It’s sad to see that discord has waited over 8 years to do this, but the whole thing is soydev code anyways.