From 0dfd8e60c841251ac85a9edd6836eddfe0db91c4 Mon Sep 17 00:00:00 2001 From: Devesh Pal Date: Sat, 12 Feb 2022 14:52:07 +0530 Subject: [PATCH] Fix packkang - typo --- plugins/stickertools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/stickertools.py b/plugins/stickertools.py index 6eef857..1d807fc 100644 --- a/plugins/stickertools.py +++ b/plugins/stickertools.py @@ -56,7 +56,7 @@ from . import ( @ultroid_cmd(pattern="packkang") async def pack_kangish(_): _e = await _.get_reply_message() - if not (_e and _e.sticker and _e.file.mime_type != "image/webp"): + if not (_e and _e.sticker and _e.file.mime_type == "image/webp"): return await _.eor(get_string("sts_4")) if len(_.text) > 9: _packname = _.text.split(" ", maxsplit=1)[1]