From c43e46d3c08b339ba08fb0930698dc89056a8c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=CF=81=CE=B9=E2=88=82=D1=83?= <68327188+sppidy@users.noreply.github.com> Date: Wed, 24 Feb 2021 01:06:38 +0530 Subject: [PATCH] Fixes --- plugins/admintools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/admintools.py b/plugins/admintools.py index f5a7a2e..fc76948 100644 --- a/plugins/admintools.py +++ b/plugins/admintools.py @@ -301,8 +301,8 @@ async def pin(msg): return await x.edit("`Hmm, I'm have no rights here...`") except Exception as e: return await x.edit(f"**ERROR:**`{str(e)}`") - await x.delete() - + await x.edit(f"`Pinned` [this message](https://t.me/c/{cht.id}/{xx})!") + @ultroid_cmd( pattern="dpin($| (.*))", )