diff --git a/src/nonebot_plugin_alconna/uniseg/segment.py b/src/nonebot_plugin_alconna/uniseg/segment.py index 0be969b..a6d7b86 100644 --- a/src/nonebot_plugin_alconna/uniseg/segment.py +++ b/src/nonebot_plugin_alconna/uniseg/segment.py @@ -243,7 +243,7 @@ class CustomNode: uid: str name: str time: datetime - content: Union[str, list["Segment"], Message] + content: Union[str, List[Segment], Message] @dataclass