This commit is contained in:
Sρι∂у
2021-02-24 01:06:38 +05:30
committed by GitHub
parent 77cf4e871d
commit c43e46d3c0

View File

@@ -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($| (.*))",
)