diff --git a/package-lock.json b/package-lock.json index 760eafd..4509faf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "denim_3001", - "version": "3001.27.0", + "version": "3001.27.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "denim_3001", - "version": "3001.27.0", + "version": "3001.27.1", "license": "ISC", "dependencies": { "@discordjs/opus": "github:discordjs/opus", diff --git a/package.json b/package.json index 7ac2b6d..d1f795f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "denim_3001", - "version": "3001.27.0", + "version": "3001.27.1", "description": "Toto je velmi kvalitní bot.", "repository": { "url": "https://github.com/Histmy/Denim-Bot/" diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 431df90..5d16e8a 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -93,7 +93,10 @@ export const joinVoice = async (channel: VoiceChannel | StageChannel | string, g if (!prev) { const player = createAudioPlayer(); pripojeni[guildId] = conn.subscribe(player)!; - conn.on("error", e => console.log("error nekde v conn", e)); + conn.on("error", e => { + if (e.message.startsWith("Cannot perform IP discovery")) return; + console.log("error nekde v conn", e); + }); } return { conn, prev };