Add files via upload
Initial project upload
This commit is contained in:
commit
126e76963c
20 files changed
+1227
No files matched your search
@@ -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 загружен!")
|
||||
|
||||
Reference in new issue
Block a user