We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a598d4c commit e0c35ebCopy full SHA for e0c35eb
plugins/link_generator.py
@@ -54,7 +54,7 @@ async def batch(client: Client, message: Message):
54
continue
55
elif second_message.text:
56
pattern = "https://t.me/(?:c/)?(.*)/(\d+)"
57
- matches = re.match(pattern,text)
+ matches = re.match(pattern,second_message.text)
58
if not matches:
59
await second_message.reply("This is not a Proper telegram post link", quote=True)
60
0 commit comments