From 92b3c2ec6ff9c4580eea1ac3cf17a5f638af2481 Mon Sep 17 00:00:00 2001 From: Histmy Date: Thu, 19 Aug 2021 19:47:29 +0200 Subject: [PATCH] =?UTF-8?q?tohle=20u=C5=BE=20je=20moc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/onReady.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/onReady.ts b/src/modules/onReady.ts index 207be73..c26213d 100644 --- a/src/modules/onReady.ts +++ b/src/modules/onReady.ts @@ -5,7 +5,7 @@ import { Client } from "discord.js"; module.exports = { on_ready: async () => { console.log("A jedeš!"); - if (process.argv.length > 2) return; + if (process.argv.length < 3) return; const client: Client = module.exports.client; const admin = client.users.cache.get("221561136028450816"); if (!admin) return;