Skip to content

Imposible to connect to Discord #13

@CarlosNunezMX

Description

@CarlosNunezMX

When I start the app with all required flags that shows this errors

error: Uncaught (in promise) RangeError: IPC ID must be between 0-9
  if (id < 0 || id > 9) throw new RangeError(`IPC ID must be between 0-9`);
                              ^
    at getIPCPath (https://deno.land/x/[email protected]/src/util.ts:14:31)
    at findIPC (https://deno.land/x/[email protected]/src/util.ts:30:16)
    at findIPC (https://deno.land/x/[email protected]/src/util.ts:41:12)
    at async Function.connect (https://deno.land/x/[email protected]/src/conn.ts:40:18)
    at async Client.connect (https://deno.land/x/[email protected]/src/client.ts:85:16)
    at async file:///home/kuromi/Angel%20Beats!%20-1st%20beat-/rpc/index.ts:18:1

I give this flags

deno run --allow-run --allow-env --unstable --allow-read --allow-write --allow-net index.ts

And this is the connection part

const cliente = new Client({
    id: "980253379139891292",
    scopes: ["rpc"]
})

await cliente.connect();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions