mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Tes cleanmode AFK
This commit is contained in:
parent
ad18033e3f
commit
a6bb27bdd3
2 changed files with 2 additions and 4 deletions
|
|
@ -13,7 +13,7 @@ from misskaty.helper import paginate_modules
|
|||
from misskaty.helper.tools import bot_sys_stats
|
||||
from database.users_chats_db import db
|
||||
from misskaty.vars import LOG_CHANNEL, SUDO
|
||||
from utils import temp
|
||||
from utils import temp, auto_clean
|
||||
from pyrogram.raw.all import layer
|
||||
from pyrogram import idle, __version__, filters
|
||||
from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup
|
||||
|
|
@ -337,4 +337,5 @@ General command are:
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
asyncio.create_task(auto_clean())
|
||||
loop.run_until_complete(start_bot())
|
||||
|
|
|
|||
3
utils.py
3
utils.py
|
|
@ -145,6 +145,3 @@ def extract_user(message: Message) -> Union[int, str]:
|
|||
user_id = message.from_user.id
|
||||
user_first_name = message.from_user.first_name
|
||||
return (user_id, user_first_name)
|
||||
|
||||
|
||||
loop.run_until_complete(auto_clean())
|
||||
|
|
|
|||
Loading…
Reference in a new issue