mail2telegram/main.py

11 lines
214 B
Python
Raw Normal View History

2024-02-22 14:26:21 +00:00
from pyrogram import idle
from init import bot, logs
if __name__ == "__main__":
logs.info("Bot 开始运行")
bot.start()
logs.info(f"Bot 启动成功!@{bot.me.username}")
idle()
bot.stop()