🚀 Auto-deploy: BotVPS atualizado em 14/05/2026 11:40:46
This commit is contained in:
+3
-2
@@ -8,8 +8,9 @@ from collections import deque
|
|||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
from config import get_config, save_config
|
from config import get_config, save_config
|
||||||
|
|
||||||
# Carrega variáveis do .env caso não tenham sido carregadas
|
# Carrega variáveis do .env usando caminho absoluto
|
||||||
load_dotenv()
|
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
load_dotenv(os.path.join(BASE_DIR, ".env"))
|
||||||
|
|
||||||
# Monitor de requisições (Rate Limiting Monitoring)
|
# Monitor de requisições (Rate Limiting Monitoring)
|
||||||
REQUEST_HISTORY = deque()
|
REQUEST_HISTORY = deque()
|
||||||
|
|||||||
Reference in New Issue
Block a user