mirror of
https://github.com/Xtao-Labs/twitter2telegram.git
synced 2024-11-28 02:41:37 +00:00
12 lines
203 B
Python
12 lines
203 B
Python
|
from pyrogram import idle
|
||
|
|
||
|
from init import logs, bot
|
||
|
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
logs.info("连接服务器中。。。")
|
||
|
bot.start()
|
||
|
logs.info("运行成功!")
|
||
|
idle()
|
||
|
bot.stop()
|