From e0d278e0131ec81294eea3351ff2f90b7cc8be65 Mon Sep 17 00:00:00 2001 From: Histmy Date: Sun, 7 Nov 2021 11:29:56 +0100 Subject: [PATCH] logging when joinVoice not work --- src/utils/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 28f455b..11bc4b1 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -71,6 +71,7 @@ export const joinVoice = async (channel: VoiceChannel | StageChannel | string, g await entersState(conn, VoiceConnectionStatus.Ready, 3e4) .catch(err => { conn!.destroy(); + console.log("pri pripojovani do vojsu nastala chyba:"); throw err; }); return { conn, prev: true };