misskey2telegram/main.py

12 lines
196 B
Python
Raw Normal View History

2022-12-22 14:18:43 +00:00
from pyrogram import idle
from init import logs, bot
if __name__ == "__main__":
logs.info("Bot 开始运行")
bot.start()
logs.info("Bot 启动成功!")
idle()
bot.stop()