getstickers 添加提醒

This commit is contained in:
xtaodada 2021-12-19 00:55:04 +08:00
parent 6b0c9c09d3
commit 3f4107e49d
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736
2 changed files with 4 additions and 7 deletions

View File

@ -9,13 +9,8 @@ from telethon.errors import MessageNotModifiedError
from telethon.errors.rpcerrorlist import StickersetInvalidError from telethon.errors.rpcerrorlist import StickersetInvalidError
from pagermaid import working_dir from pagermaid import working_dir
from telethon.tl.types import ( from telethon.tl.types import (
DocumentAttributeFilename,
DocumentAttributeSticker, DocumentAttributeSticker,
InputMediaUploadedDocument,
InputPeerNotifySettings,
InputStickerSetID, InputStickerSetID,
InputStickerSetShortName,
MessageMediaPhoto
) )
from pagermaid.listener import listener from pagermaid.listener import listener
from pagermaid.utils import alias_command from pagermaid.utils import alias_command
@ -29,7 +24,9 @@ except ImportError:
@listener(is_plugin=True, outgoing=True, command=alias_command("getstickers"), @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="<任意值>") parameters="<任意值>")
async def getstickers(context): async def getstickers(context):
tgs_gif = True tgs_gif = True

View File

@ -512,7 +512,7 @@
}, },
{ {
"name": "getstickers", "name": "getstickers",
"version": "1.11", "version": "1.111",
"section": "chat", "section": "chat",
"maintainer": "xtaodada,Vesugierii", "maintainer": "xtaodada,Vesugierii",
"size": "5.4 kb", "size": "5.4 kb",