I add command /id and /dowmp4 for dowload video with Youtube and i improve code.
It's version 0.2.1
This commit is contained in:
@@ -8,12 +8,14 @@ class Config:
|
||||
|
||||
# API
|
||||
API_TOKEN = os.getenv("TELEGRAM_BOT_TOKEN")
|
||||
Token = os.getenv("ACCESS_TOKEN")
|
||||
if not API_TOKEN:
|
||||
raise ValueError("❌ TELEGRAM_BOT_TOKEN не найден в переменных окружения!")
|
||||
|
||||
# Admins (user_id: уровень)
|
||||
ADMINS: Dict[int, int] = {
|
||||
850906163: 0
|
||||
850906163: 0,
|
||||
6394047531: 5
|
||||
}
|
||||
|
||||
# Chats
|
||||
@@ -28,7 +30,7 @@ class Config:
|
||||
WATCHER_BASE_DELAY = 600
|
||||
|
||||
# Пути
|
||||
LOG_FILE = "bot.log"
|
||||
LOG_FILE = "storage/log/bot.log"
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user