Add files via upload

Initial project upload
This commit is contained in:
nini52 authored and GitHub committed 2026-07-08 09:06:08 +03:00
commit 126e76963c
20 files changed
+1227

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import os
from dotenv import load_dotenv
# Загружаем переменные из .env
load_dotenv()
# Токен бота
TOKEN = "8876908400:AAGb4_ayjfhWuUI_evP8vvc5YUUiG8jxepE"
# Ключ Groq
GROQ_API_KEY = os.getenv("GROQ_API_KEY")
# Проверяем, что ключ загрузился
if not GROQ_API_KEY:
print("❌ GROQ_API_KEY не найден в .env файле!")
print("👉 Создай файл .env и добавь: GROQ_API_KEY=твой_ключ")
else:
print("✅ GROQ_API_KEY загружен!")