sticker-captcha-bot/sticker/__main__.py

15 lines
229 B
Python
Raw Permalink Normal View History

2022-07-02 11:44:57 +00:00
from pyrogram import idle
from sticker import bot, logs
async def main():
await bot.start()
2024-11-11 08:57:10 +00:00
me = await bot.get_me()
logs.info(f"bot @{me.username} started.")
2022-07-02 11:44:57 +00:00
await idle()
await bot.stop()
2023-09-11 13:05:50 +00:00
2022-07-02 11:44:57 +00:00
bot.run(main())