tohle už je moc

This commit is contained in:
Histmy 2021-08-19 19:47:29 +02:00
parent 7ba3ead26e
commit 92b3c2ec6f

View File

@ -5,7 +5,7 @@ import { Client } from "discord.js";
module.exports = { module.exports = {
on_ready: async () => { on_ready: async () => {
console.log("A jedeš!"); console.log("A jedeš!");
if (process.argv.length > 2) return; if (process.argv.length < 3) return;
const client: Client = module.exports.client; const client: Client = module.exports.client;
const admin = client.users.cache.get("221561136028450816"); const admin = client.users.cache.get("221561136028450816");
if (!admin) return; if (!admin) return;