mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
feat: python 接口适配 AsstRunning 接口
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import json
|
||||
import pathlib
|
||||
import asyncio
|
||||
|
||||
from asst import Asst, Message
|
||||
|
||||
@@ -64,5 +65,5 @@ if __name__ == "__main__":
|
||||
|
||||
asst.start()
|
||||
|
||||
while True:
|
||||
input('>')
|
||||
while asst.running():
|
||||
asyncio.sleep(0)
|
||||
|
||||
Reference in New Issue
Block a user