diff --git a/main.py b/main.py index c96689e..d04b7ff 100644 --- a/main.py +++ b/main.py @@ -186,7 +186,7 @@ async def resend_after(msg: Message): args = msg.text.split()[1:] try: timestamp = int(args[0]) - skip_to_sub = int(args[1]) if len(args) > 1 else None + skip_to_sub = args[1] if len(args) > 1 else None except: traceback.print_exc() await msg.reply('Invalid timestamp or not provided')