Open kernelwernel opened 1 year ago
Same error but trying in Bun
import {register, Client} from "discord-rpc"
register(':D');
const rpc = new Client({transport: 'ipc'});
rpc.on('ready', () => {
console.log('Client is ready');
})
rpc.login({clientId: ":D});
DiscordRPC ^4.0.1
Bun 1.0.22
Discord installed with snap
Running in KDE Neon (Ubuntu)
For some reason, the code works on my host machine but when I try to make it into a docker container, it gives me this error:
I tried to run this on my VPS and the same thing happened. Any help?