mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Update filters.py
This commit is contained in:
parent
53ee89e7b5
commit
673c709ca2
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ async def save_filters(_, message):
|
||||||
if replied_message.voice:
|
if replied_message.voice:
|
||||||
_type = "voice"
|
_type = "voice"
|
||||||
file_id = replied_message.voice.file_id
|
file_id = replied_message.voice.file_id
|
||||||
if replied_message.reply_markup and "~" not in data:
|
if replied_message.reply_markup and not re.findall(r"\[.+\,.+\]", data):
|
||||||
if urls := extract_urls(replied_message.reply_markup):
|
if urls := extract_urls(replied_message.reply_markup):
|
||||||
response = "\n".join(
|
response = "\n".join(
|
||||||
[f"{name}=[{text}, {url}]" for name, text, url in urls]
|
[f"{name}=[{text}, {url}]" for name, text, url in urls]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue