Skip to content

Commit e0c35eb

Browse files
authored
Debug 🥴
1 parent a598d4c commit e0c35eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/link_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async def batch(client: Client, message: Message):
5454
continue
5555
elif second_message.text:
5656
pattern = "https://t.me/(?:c/)?(.*)/(\d+)"
57-
matches = re.match(pattern,text)
57+
matches = re.match(pattern,second_message.text)
5858
if not matches:
5959
await second_message.reply("This is not a Proper telegram post link", quote=True)
6060
continue

0 commit comments

Comments
 (0)