fix resend after

This commit is contained in:
bakatrouble 2025-07-31 12:29:41 +03:00
parent 7bdebae54a
commit af1479bc75

View File

@ -186,7 +186,7 @@ async def resend_after(msg: Message):
args = msg.text.split()[1:] args = msg.text.split()[1:]
try: try:
timestamp = int(args[0]) 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: except:
traceback.print_exc() traceback.print_exc()
await msg.reply('Invalid timestamp or not provided') await msg.reply('Invalid timestamp or not provided')