mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-22 06:17:54 +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:
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user