From 3f4107e49d061a97d9d66df2c861c561947e63b5 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sun, 19 Dec 2021 00:55:04 +0800 Subject: [PATCH] =?UTF-8?q?getstickers=20=E6=B7=BB=E5=8A=A0=E6=8F=90?= =?UTF-8?q?=E9=86=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- getstickers.py | 9 +++------ list.json | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/getstickers.py b/getstickers.py index 71fe89f..1878c7a 100644 --- a/getstickers.py +++ b/getstickers.py @@ -9,13 +9,8 @@ from telethon.errors import MessageNotModifiedError from telethon.errors.rpcerrorlist import StickersetInvalidError from pagermaid import working_dir from telethon.tl.types import ( - DocumentAttributeFilename, DocumentAttributeSticker, - InputMediaUploadedDocument, - InputPeerNotifySettings, InputStickerSetID, - InputStickerSetShortName, - MessageMediaPhoto ) from pagermaid.listener import listener from pagermaid.utils import alias_command @@ -29,7 +24,9 @@ except ImportError: @listener(is_plugin=True, outgoing=True, command=alias_command("getstickers"), - description="获取整个贴纸包的贴纸,false 关闭 tgs 转 gif;任意值开启下载所有贴纸包;转 gif 需要手动安装 pypi 依赖 lottie[gif] 。", + description="获取整个贴纸包的贴纸,false 关闭 tgs 转 gif;任意值开启下载所有贴纸包;\n" + "转 gif 需要手动安装 pypi 依赖 lottie[gif] \n" + "Ubuntu 转换出错请先运行 `-sh apt install libpangocairo-1.0-0 -y`。", parameters="<任意值>") async def getstickers(context): tgs_gif = True diff --git a/list.json b/list.json index 45d6324..8bf7a0f 100644 --- a/list.json +++ b/list.json @@ -512,7 +512,7 @@ }, { "name": "getstickers", - "version": "1.11", + "version": "1.111", "section": "chat", "maintainer": "xtaodada,Vesugierii", "size": "5.4 kb",