mirror of
https://github.com/Xtao-Labs/mail2telegram.git
synced 2024-11-23 23:55:09 +00:00
11 lines
214 B
Python
11 lines
214 B
Python
|
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()
|