fix resend after
This commit is contained in:
parent
7bdebae54a
commit
af1479bc75
2
main.py
2
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')
|
||||
|
Loading…
Reference in New Issue
Block a user