添加用于解析 argsmatch 的函数

This commit is contained in:
洛水居室 2022-08-04 21:04:26 +08:00
parent ea9f8e349e
commit afdd475f5f
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -10,7 +10,6 @@ def get_all_args(context: CallbackContext) -> List[str]:
if match is not None: if match is not None:
groups = match.groups() groups = match.groups()
return list(groups) return list(groups)
else: else:
if len(args) >= 1: if len(args) >= 1:
return args return args