Giter VIP home page Giter VIP logo

Comments (8)

HelloWorld017 avatar HelloWorld017 commented on August 15, 2024

Could you try
$ git clone https://github.com/HeloWorld017/atom-discord.git && cd atom-discord/ && npm i && apm link
?

from atom-discord.

 avatar commented on August 15, 2024

It installs, I haven't checked whether it works in discord yet

from atom-discord.

 avatar commented on August 15, 2024

However it give me this error:

Set up discord RPC.
{ Error: connect ENOENT /run/user/1001/snap.atom/discord-ipc-0
    at Object.exports._errnoException (util.js:1022:11)
    at exports._exceptionWithHostPort (util.js:1045:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)
  code: 'ENOENT',
  errno: 'ENOENT',
  syscall: 'connect',
  address: '/run/user/1001/snap.atom/discord-ipc-0' }

from atom-discord.

 avatar commented on August 15, 2024

And the Rich Presence still doesn't work

from atom-discord.

HelloWorld017 avatar HelloWorld017 commented on August 15, 2024

Hmm... I think it may be error of getting IPC Path of discord-rpc

function getIPCPath() {
  if (process.platform === 'win32')
    return '\\\\?\\pipe\\discord-ipc-0';
  const env = process.env;
  const prefix = env.XDG_RUNTIME_DIR || env.TMPDIR || env.TMP || env.TEMP || '/tmp';
  return `${prefix.replace(/\/$/, '')}/discord-ipc-0`;
}

May be problem of env?

from atom-discord.

 avatar commented on August 15, 2024

But it won't be that part because I'm using Linux

from atom-discord.

 avatar commented on August 15, 2024

ENOENT means No such file or directory

from atom-discord.

 avatar commented on August 15, 2024

NVM IT WORKS!!!!!!

I think that my discord was broken.

from atom-discord.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.