diff --git a/astrbot/core/message/components.py b/astrbot/core/message/components.py index d43d2d89f..50e81c86d 100644 --- a/astrbot/core/message/components.py +++ b/astrbot/core/message/components.py @@ -124,7 +124,6 @@ class Record(BaseMessageComponent): timeout: T.Optional[int] = 0 # 额外 path: T.Optional[str] - duration: T.Optional[int] = 0 # 毫秒 def __init__(self, file: T.Optional[str], **_): for k in _.keys():