mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update util.py
Typo
This commit is contained in:
parent
7669781737
commit
78d86752fb
@ -239,4 +239,4 @@ def extract_arguments(text):
|
|||||||
"""
|
"""
|
||||||
regexp = re.("\/\w*(@\w*)*\s*([\s\S]*)",re.IGNORECASE)
|
regexp = re.("\/\w*(@\w*)*\s*([\s\S]*)",re.IGNORECASE)
|
||||||
result = regexp.match(text)
|
result = regexp.match(text)
|
||||||
return result.group(2) if if is_command(text) else None
|
return result.group(2) if is_command(text) else None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user