diff --git a/package-lock.json b/package-lock.json index 696b81a..bdd58b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "denim_3001", - "version": "3001.41.0", + "version": "3001.41.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "denim_3001", - "version": "3001.41.0", + "version": "3001.41.1", "license": "ISC", "dependencies": { "@discordjs/voice": "^0.11.0", diff --git a/package.json b/package.json index 3bceb5e..5d7e19c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "denim_3001", - "version": "3001.41.0", + "version": "3001.41.1", "description": "Toto je velmi kvalitní bot.", "repository": { "url": "https://github.com/Histmy/Denim-Bot/" diff --git a/src/modules/novaOrdinacka.ts b/src/modules/novaOrdinacka.ts index f8361c9..0bb44c6 100644 --- a/src/modules/novaOrdinacka.ts +++ b/src/modules/novaOrdinacka.ts @@ -23,13 +23,14 @@ function naplanovat(jesteNeska?: true) { const padNula = (n: number) => n > 9 ? n : `0${n}`; function hendelieren() { - fetch("https://sktorrent.eu/torrent/torrents_v2.php?search=ordinace") + const base = "https://sktorrent.eu/torrent/"; + fetch(`${base}torrents_v2.php?search=ordinace`) .then(r => r.text()) .then(txt => { const tabule = txt.match(/