diff --git a/list.json b/list.json index 8161683..3085920 100644 --- a/list.json +++ b/list.json @@ -862,7 +862,7 @@ }, { "name": "silly_girl", - "version": "1.01", + "version": "1.02", "section": "chat", "maintainer": "cdle", "size": "3 kb", diff --git a/silly_girl.py b/silly_girl.py index 8b79808..c7c9f30 100644 --- a/silly_girl.py +++ b/silly_girl.py @@ -134,6 +134,9 @@ async def poll(data): persistent_vars["sillyGirl"]['init'] = True await persistent_vars["sillyGirl"]['context'].edit("傻妞连接成功,愉快玩耍吧。") except Exception as e: - await persistent_vars["sillyGirl"]['context'].edit('出错了呜呜呜 ~ 无法访问 傻妞 ') + try: + await persistent_vars["sillyGirl"]['context'].edit('出错了呜呜呜 ~ 无法访问 傻妞 ') + except: + return await asyncio.sleep(1) return