From 3af5607c1be096ed9f416ad1d5c4a2fe6e88d201 Mon Sep 17 00:00:00 2001 From: Histmy <59661489+Histmy@users.noreply.github.com> Date: Thu, 25 Aug 2022 16:41:03 +0200 Subject: [PATCH] =?UTF-8?q?new=20vordina=C4=8Dka=20link=20should=20now=20w?= =?UTF-8?q?orks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 4 ++-- package.json | 2 +- src/modules/novaOrdinacka.ts | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) 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(/