✏️ fix typo

This commit is contained in:
yanyongyu 2020-11-20 01:37:53 +08:00 committed by pull[bot]
parent 9241f4df79
commit 5fb9799807

View File

@ -118,7 +118,7 @@ async def _check_reply(bot: "Bot", event: "Event"):
del event.message[index] del event.message[index]
if len(event.message) > index and event.message[index].type == "at": if len(event.message) > index and event.message[index].type == "at":
del event.message[index] del event.message[index]
if len(event.message) > index and event.message[index].type == "test": if len(event.message) > index and event.message[index].type == "text":
event.message[index].data["text"] = event.message[index].data[ event.message[index].data["text"] = event.message[index].data[
"text"].strip() "text"].strip()
if not event.message: if not event.message: