mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-01 01:25:07 +08:00
⏪ revert plain text
This commit is contained in:
parent
be244f4538
commit
71c5cdc445
@ -453,4 +453,4 @@ class BaseMessage(list, abc.ABC):
|
|||||||
return f"{x} {y}" if y.type == "text" else x
|
return f"{x} {y}" if y.type == "text" else x
|
||||||
|
|
||||||
plain_text = reduce(_concat, self, "")
|
plain_text = reduce(_concat, self, "")
|
||||||
return plain_text.strip()
|
return plain_text[1:] if plain_text else plain_text
|
||||||
|
Loading…
Reference in New Issue
Block a user