Add missing parameter to getting sticker sets. Fixes #51

This commit is contained in:
Tulir Asokan 2022-11-15 12:58:38 +02:00
parent 99ced8878a
commit f59406a47a

View file

@ -153,7 +153,7 @@ async def main(args: argparse.Namespace) -> None:
return
input_packs.append(InputStickerSetShortName(short_name=match.group(1)))
for input_pack in input_packs:
pack: StickerSetFull = await client(GetStickerSetRequest(input_pack))
pack: StickerSetFull = await client(GetStickerSetRequest(input_pack, hash=0))
await reupload_pack(client, pack, args.output_dir)
else:
parser.print_help()