mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-25 18:04:10 +00:00
✨ 添加用于解析 args
和 match
的函数
This commit is contained in:
parent
ea9f8e349e
commit
afdd475f5f
@ -10,7 +10,6 @@ def get_all_args(context: CallbackContext) -> List[str]:
|
||||
if match is not None:
|
||||
groups = match.groups()
|
||||
return list(groups)
|
||||
|
||||
else:
|
||||
if len(args) >= 1:
|
||||
return args
|
||||
|
Loading…
Reference in New Issue
Block a user