21 lines
466 B
Python
21 lines
466 B
Python
__version__ = "0.6.5"
|
|
# >>> patch : F.11.22
|
|
|
|
import time
|
|
import logging
|
|
|
|
from driver.core import me_bot
|
|
|
|
id = me_bot.id
|
|
|
|
logging.basicConfig(
|
|
filename=f'streambot-logs-{id}.txt',
|
|
level=logging.INFO,
|
|
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s'
|
|
)
|
|
logging.getLogger("yt_dlp").setLevel(logging.ERROR)
|
|
logging.getLogger("pyrogram").setLevel(logging.ERROR)
|
|
logging.getLogger("PyTgCalls").setLevel(logging.ERROR)
|
|
|
|
LOGS = logging.getLogger(__name__)
|