set title of running bot user id
This commit is contained in:
parent
698462b3d5
commit
5ea22e534b
1 changed files with 3 additions and 1 deletions
4
ubot.py
4
ubot.py
|
@ -9,6 +9,7 @@ from loguru import logger
|
|||
|
||||
import time
|
||||
import sys
|
||||
import os
|
||||
import asyncio
|
||||
import re
|
||||
|
||||
|
@ -169,7 +170,8 @@ async def main():
|
|||
####################################################################
|
||||
if is_termux:
|
||||
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)
|
||||
|
||||
if config.db_pymysql:
|
||||
|
|
Loading…
Reference in a new issue