Vordinace????,?,???,??
This commit is contained in:
parent
ac57039a3a
commit
986cc70f8c
@ -21,7 +21,7 @@ const komandyNaPoslani: KomandNaExport[] = [];
|
||||
const helpServer: HelpServer = require("./utils/helpServer");
|
||||
|
||||
client.on("error", err => {
|
||||
log(err);
|
||||
log("errorek", err);
|
||||
adminLog(client, "nejaka chyba na klijentovi", err);
|
||||
});
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ import { log } from "../utils/utils";
|
||||
let client: CClient;
|
||||
|
||||
async function ziskatNazev() {
|
||||
const stranka = await fetch("https://voyo.nova.cz/api/v1/show/content?showId=1&type=episodes&season=6596&count=1&offset=0&url=%2Fserialy%2F1-ordinace-v-ruzove-zahrade-2")
|
||||
const stranka = await fetch("https://voyo.nova.cz/api/v1/show/content?showId=1&type=episodes&season=6947&count=1&offset=0&url=%2Fserialy%2F1-ordinace-v-ruzove-zahrade-2")
|
||||
.then(r => r.text())
|
||||
.catch(e => log("chyba pri accessovani VOYO stránky", e));
|
||||
|
||||
@ -69,7 +69,7 @@ const exp: Modul = {
|
||||
on_ready: () => {
|
||||
client = module.exports.client;
|
||||
|
||||
// naplanovat();
|
||||
naplanovat();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@ function naplanovat() {
|
||||
async function sync() {
|
||||
const res = await fetch("https://util.deadfish.cz/denim+/subscriptions.json")
|
||||
.then(r => r.json())
|
||||
.catch(log);
|
||||
.catch(e => log("chyba pri ziskavani denim- predplatitelu", e));
|
||||
|
||||
const result = safeParse(subscriptionsSchema, res);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user