From cf492afa814a56296784e71d94f77f21e13d7287 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 5 Mar 2023 04:30:01 +0100 Subject: [PATCH] use singleton in first call --- src/utils/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/client.ts b/src/utils/client.ts index 79c6f71..8aa651b 100644 --- a/src/utils/client.ts +++ b/src/utils/client.ts @@ -38,7 +38,7 @@ export default async () => { list: new Collection(), }; - const player = new Player(client, { + const player = Player.singleton(client, { ytdlOptions: { filter: "audioonly", },