sticker-captcha-bot/sticker/__main__.py
2024-11-11 16:57:10 +08:00

15 lines
229 B
Python

from pyrogram import idle
from sticker import bot, logs
async def main():
await bot.start()
me = await bot.get_me()
logs.info(f"bot @{me.username} started.")
await idle()
await bot.stop()
bot.run(main())