From 125d057e447ef62fddbcda40c8ea4c7faee7082a Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 19 Jun 2024 13:55:00 +0300 Subject: [PATCH] Remove animated sticker pack check --- sticker/stickerimport.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sticker/stickerimport.py b/sticker/stickerimport.py index db176e4..534f3c4 100644 --- a/sticker/stickerimport.py +++ b/sticker/stickerimport.py @@ -56,10 +56,6 @@ def add_meta(document: Document, info: matrix.StickerInfo, pack: StickerSetFull) async def reupload_pack(client: TelegramClient, pack: StickerSetFull, output_dir: str) -> None: - if pack.set.animated: - print("Animated stickerpacks are currently not supported") - return - pack_path = os.path.join(output_dir, f"{pack.set.short_name}.json") try: os.mkdir(os.path.dirname(pack_path))