From 6482fbc8ea2e4ff4973b9def5789c2089c1c2a32 Mon Sep 17 00:00:00 2001 From: shnimlz Date: Sat, 11 Oct 2025 20:21:10 -0500 Subject: [PATCH] Refactor la carga de variables de entorno para utilizar dotenv en lugar de loadEnvFile --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 6cc3ac8..30252b4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,4 +1,4 @@ -process.loadEnvFile(); +import "dotenv/config"; import Amayo from "./core/client"; import { loadCommands } from "./core/loaders/loader";