twitter2telegram/main.py

12 lines
203 B
Python
Raw Permalink Normal View History

2023-05-24 15:20:21 +00:00
from pyrogram import idle
from init import logs, bot
if __name__ == "__main__":
logs.info("连接服务器中。。。")
bot.start()
logs.info("运行成功!")
idle()
bot.stop()