2022-02-07 16:55:53 +00:00
|
|
|
__version__ = "0.6.5"
|
2022-02-25 03:53:23 +00:00
|
|
|
# >>> patch : F.11.22
|
2022-02-05 05:39:09 +00:00
|
|
|
|
2022-02-25 03:53:23 +00:00
|
|
|
import time
|
|
|
|
import logging
|
|
|
|
|
2022-02-25 04:47:13 +00:00
|
|
|
from driver.core import me_bot
|
|
|
|
|
|
|
|
id = me_bot.id
|
|
|
|
|
2022-02-25 03:53:23 +00:00
|
|
|
logging.basicConfig(
|
2022-02-25 04:47:13 +00:00
|
|
|
filename=f'streambot-logs-{id}.txt',
|
2022-02-25 03:53:23 +00:00
|
|
|
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__)
|