diff --git a/nonebot/rule.py b/nonebot/rule.py index 990d93d4..7dbff611 100644 --- a/nonebot/rule.py +++ b/nonebot/rule.py @@ -315,6 +315,7 @@ class ArgumentParser(ArgParser): def parse_args(self, args: Optional[Sequence[str]] = None, namespace: Optional[Namespace] = None) -> Namespace: + setattr(self, "message", "") return super().parse_args(args=args, namespace=namespace) # type: ignore