It's version 0.4
This commit is contained in:
@@ -2,6 +2,7 @@ import os
|
||||
from dotenv import load_dotenv
|
||||
from typing import Dict
|
||||
|
||||
|
||||
class Config:
|
||||
# Загружаем .env
|
||||
load_dotenv()
|
||||
@@ -9,19 +10,19 @@ class Config:
|
||||
# API
|
||||
API_TOKEN = os.getenv("TELEGRAM_BOT_TOKEN")
|
||||
Token = os.getenv("ACCESS_TOKEN")
|
||||
DEEPGRAM_API_KEY = os.getenv("DEEPGRAM_API_KEY")
|
||||
DEEPGRAM_AGENT_URL = "https://api.deepgram.com/v1/agent/think"
|
||||
DEEPGRAM_TTS_URL = "https://api.deepgram.com/v1/speak?"
|
||||
# 5575756416
|
||||
BAN = [1]
|
||||
|
||||
if not API_TOKEN:
|
||||
raise ValueError("❌ TELEGRAM_BOT_TOKEN не найден в переменных окружения!")
|
||||
|
||||
# Admins (user_id: уровень)
|
||||
ADMINS: Dict[int, int] = {
|
||||
850906163: 0,
|
||||
6394047531: 4
|
||||
}
|
||||
ADMINS: Dict[int, int] = {850906163: 0, 6394047531: 4, 1345058877: 3}
|
||||
|
||||
Names: Dict[int, str] = {
|
||||
850906163: "Ляпич",
|
||||
6394047531: "Прокопович"
|
||||
}
|
||||
Names: Dict[int, str] = {850906163: "Ляпич", 6394047531: "Прокопович"}
|
||||
|
||||
# Chats
|
||||
CHAT_IDS = [-1003038389942]
|
||||
|
||||
Reference in New Issue
Block a user