added more uptime

This commit is contained in:
Histmy 2021-11-18 19:07:33 +01:00
parent 1711416335
commit 34fd71633b

View File

@ -1,6 +1,7 @@
// Sekce pro komandy, který jenom pošlou nějaký hovno bez a nevyžadují argumenty
import { Modul } from "../utils/types";
import { formatCas } from "../utils/utils";
const pomoc: [string[], {}] = require("../../res/pomoc.json");
@ -32,7 +33,9 @@ const exp: Modul = {
verze: () => `${require("../../package.json").version}\nčenžlog mas tady https://denim3001.deadfish.cz/morehovna`,
navrh: "tadi mas prostor https://navrhy.denim3001.deadfish.cz/"
navrh: "tadi mas prostor https://navrhy.denim3001.deadfish.cz/",
uptime: () => `uz jedu ${formatCas(Math.round(globalThis.performance.now() / 1000))}`
}
};