Bump to v1.5

This commit is contained in:
Dr.Caduceus
2023-11-13 11:50:08 +05:30
committed by GitHub
parent 0fde48f4b7
commit 08f48ebb72

View File

@@ -1,19 +1,15 @@
from pyrogram import Client
from telethon import TelegramClient
from logging import getLogger
from logging.config import dictConfig
from .config import Telegram, LOGGER_CONFIG_JSON
dictConfig(LOGGER_CONFIG_JSON)
version = 1.4
version = 1.2
logger = getLogger('bot')
TelegramBot = Client(
name="bot",
api_id = Telegram.API_ID,
api_hash = Telegram.API_HASH,
bot_token = Telegram.BOT_TOKEN,
plugins={"root": "bot/plugins"},
workers = Telegram.BOT_WORKERS,
max_concurrent_transmissions=1000
TelegramBot = TelegramClient(
session='bot',
api_id=Telegram.API_ID,
api_hash=Telegram.API_HASH
)