Fix packkang

- typo
This commit is contained in:
Devesh Pal
2022-02-12 14:52:07 +05:30
committed by GitHub
parent 70a3a11b89
commit 0dfd8e60c8

View File

@@ -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]