logging when joinVoice not work
This commit is contained in:
parent
8dd0139a14
commit
e0d278e013
@ -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 };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user