Skip to content

Commit 789fbdc

Browse files
authored
Debug
1 parent 471b508 commit 789fbdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/link_generator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ async def batch(client: Client, message: Message):
2828
await first_message.reply("This is not a Proper telegram post link", quote=True)
2929
continue
3030
channel_id = matches.group(1)
31-
s_msg_id = matches.group(2)
31+
f_msg_id = matches.group(2)
3232
if channel_id.isdigit():
33-
if channel_id == client.db_channel.id
33+
if channel_id == client.db_channel.id:
3434
break
3535
else:
36-
if channel_id == client.db_channel.username
36+
if channel_id == client.db_channel.username:
3737
break
3838
await first_message.reply("Send the link of post from the db channel only", quote=True)
3939
continue

0 commit comments

Comments
 (0)