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;