Hi, seems like something is breaking. Might be my lavalink. I have no idea.
Error
It happens immediately upon starting the process.
error: Uncaught (in promise) TypeError: Cannot convert undefined to a BigInt
const player = this.node.players.get(BigInt(payload.guildId));
^
at BigInt (<anonymous>)
at Connection._onmessage (https://deno.land/x/lavadeno@3.3.0/src/connection.ts:242:54)
at Connection._onopen (https://deno.land/x/lavadeno@3.3.0/src/connection.ts:217:24)
Minimal repro code
import { Cluster } from "https://deno.land/x/lavadeno@3.3.0/mod.ts";
const cluster = new Cluster({
nodes: [
{
id: "main",
host: "host.docker.internal",
password: "lavalink",
port: 2333,
secure: false,
},
],
sendGatewayPayload: (id, payload) => console.log("Send to discord", id, payload),
});
await cluster.init(870267613635309618n); // This is the id from your README. I am using the id of my own bot.
Using lavalink via this docker image: fredboat/lavalink:latest.
Hi, seems like something is breaking. Might be my lavalink. I have no idea.
Error It happens immediately upon starting the process.
Minimal repro code
Using lavalink via this docker image:
fredboat/lavalink:latest
.Deno version
Lavalink logs, they do not really seem helpful though
Any idea if I am doing something wrong? :) Thanks