feat: python 接口适配 AsstRunning 接口

This commit is contained in:
MistEO
2022-08-28 15:42:24 +08:00
parent ade71cc670
commit d460f52633
2 changed files with 18 additions and 5 deletions

View File

@@ -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)