https://bugs.winehq.org/show_bug.cgi?id=50045
--- Comment #2 from Matthew 0e4ef622@gmail.com --- I don't think that would help since the game uses named pipes.
The way Rich Presence works is as follows:
On Windows:
When Discord is started, it creates a named pipe at `\.\pipe\discord-ipc-0` and listens for connections.
When a game supporting Rich Presence is started, it connects to that pipe and the two programs communicate using JSON.
On Linux, it's basically identical, but instead of a named pipe, it's a unix socket in, e.g. `/tmp/discord-ipc-0`. (The actual path depends on system configuration, but that's irrelevant).
So just implementing AF_UNIX sockets wouldn't help, the game wouldn't touch them.