LambdaYH
2022-08-23 13:16:14 +08:00
parent 6c93769838
commit a98bc42f1a
2 changed files with 16 additions and 9 deletions
-2
View File
@@ -27,8 +27,6 @@ async def check(event: MessageEvent, state: T_State) -> bool:
for seg in event.message:
if seg.type == 'at':
temp += f"[at:{seg.data['qq']}]"
elif isinstance(seg, str):
temp += seg
elif seg.type == 'text':
temp += seg.data["text"]
problem = temp