File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ 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- f_msg_id = matches .group (2 )
31+ f_msg_id = int ( matches .group (2 ) )
3232 if channel_id .isdigit ():
3333 if f"-100{ channel_id } " == str (client .db_channel .id ):
3434 break
@@ -59,7 +59,7 @@ async def batch(client: Client, message: Message):
5959 await second_message .reply ("This is not a Proper telegram post link" , quote = True )
6060 continue
6161 channel_id = matches .group (1 )
62- s_msg_id = matches .group (2 )
62+ s_msg_id = int ( matches .group (2 ) )
6363 if channel_id .isdigit ():
6464 if f"-100{ channel_id } " == str (client .db_channel .id ):
6565 break
You can’t perform that action at this time.
0 commit comments