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