From a8437a4b52cbc20373b1d5b7ae76f1f1c05e9362 Mon Sep 17 00:00:00 2001 From: Flavien <48295189+flav-code@users.noreply.github.com> Date: Thu, 21 Dec 2023 07:34:26 +0100 Subject: [PATCH] [FIX] typo for nodeResolver now corespond to the default function type (#166) * [FIX] typo for nodeResolver now corespond to the default function type * Update Shoukaku.ts * Update Player.ts * Update Shoukaku.ts * Update Shoukaku.ts * Update Player.ts --- src/Shoukaku.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shoukaku.ts b/src/Shoukaku.ts index b3941920..8e132e29 100644 --- a/src/Shoukaku.ts +++ b/src/Shoukaku.ts @@ -85,7 +85,7 @@ export interface ShoukakuOptions { /** * Node Resolver to use if you want to customize it */ - nodeResolver?: (node: Map, connection: Connection) => Node|undefined; + nodeResolver?: (nodes: Map, connection?: Connection) => Node|undefined; } export interface VoiceChannelOptions {