Files
FileStreamBot-Caduceus/bot/__init__.py
Dr.Caduceus 21015bffbb Bump to v1.5
2023-11-13 11:50:27 +05:30

16 lines
352 B
Python

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.5
logger = getLogger('bot')
TelegramBot = TelegramClient(
session='bot',
api_id=Telegram.API_ID,
api_hash=Telegram.API_HASH
)