diff --git a/src/modules/onReady.ts b/src/modules/onReady.ts index c26213d..e8d6a52 100644 --- a/src/modules/onReady.ts +++ b/src/modules/onReady.ts @@ -7,7 +7,7 @@ module.exports = { console.log("A jedeš!"); if (process.argv.length < 3) return; const client: Client = module.exports.client; - const admin = client.users.cache.get("221561136028450816"); + const admin = client.users.cache.get(process.env.ADMIN_ID ?? ""); if (!admin) return; await admin.createDM(); admin.dmChannel?.send("pošel jsem ty magore");