-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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/discord_rpc@0.3.0/src/util.ts:14:31)
at findIPC (https://deno.land/x/discord_rpc@0.3.0/src/util.ts:30:16)
at findIPC (https://deno.land/x/discord_rpc@0.3.0/src/util.ts:41:12)
at async Function.connect (https://deno.land/x/discord_rpc@0.3.0/src/conn.ts:40:18)
at async Client.connect (https://deno.land/x/discord_rpc@0.3.0/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.tsAnd this is the connection part
const cliente = new Client({
id: "980253379139891292",
scopes: ["rpc"]
})
await cliente.connect();Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels