This commit is contained in:
yasir 2022-12-06 19:46:32 +07:00
parent a16e0ac6f8
commit 673d31a37a

View file

@ -15,7 +15,7 @@ from database.users_chats_db import db
from misskaty.vars import LOG_CHANNEL, SUDO
from utils import temp, auto_clean
from pyrogram.raw.all import layer
from pyrogram import idle, __version__, filters, compose
from pyrogram import idle, __version__, filters
from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup
LOGGER = getLogger(__name__)
@ -40,10 +40,8 @@ async def start_bot():
else:
bot_modules += "|{:<15}".format(i)
j += 1
apps = [app, user]
await compose(apps)
# await app.start()
# await user.start()
await app.start()
await user.start()
me = await app.get_me()
ubot = await user.get_me()
LOGGER.info("+===============================================================+")