mirror of
https://github.com/Xtao-Labs/sticker-captcha-bot.git
synced 2024-12-04 05:12:00 +00:00
15 lines
229 B
Python
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())
|