Discord rpc connection error

im trying to make a discord rpc but every time i run it tells me that it couldnt connect with ipc and i found that the way i used only works if the code is on the local computer discord is running on so is there any way i can make it connect from a replit server

As far as I know, it does need to run on the same computer, so maybe try running discord using nix.

Hi! Using Discord’s RPC package, you need to run the code where you are running your Discord process. This is the only way to do a Discord RPC.

2 Likes