hotfix protože demence

This commit is contained in:
Histmy 2023-07-14 01:38:25 +02:00 committed by GitHub
parent 1a36234979
commit 30f68e212d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "denim_3001",
"version": "3001.51.0",
"version": "3001.51.1",
"lockfileVersion": 3,
"requires": true,
"packages": {

View File

@ -1,6 +1,6 @@
{
"name": "denim_3001",
"version": "3001.51.0",
"version": "3001.51.1",
"description": "Toto je velmi kvalitní bot.",
"repository": {
"url": "https://github.com/Histmy/Denim-Bot/"

View File

@ -53,7 +53,7 @@ const exp: Modul = {
});
if (!sudo) {
if (!restartPozadavky.find(el => el.id == mes.author.id)) restartPozadavky.push({ id: mes.id, kdy: Date.now() });
if (!restartPozadavky.find(el => el.id == mes.author.id)) restartPozadavky.push({ id: mes.author.id, kdy: Date.now() });
if (restartPozadavky.length == 1)
return "jelikoz nesi hlava zpravne namazana musi se s tebou zhotnout jeste 2 hajzlaty";
if (restartPozadavky.length == 2)