Created
July 29, 2021 04:45
-
-
Save Itz-fork/626eba3cfd89ac78a89023d7399d2f24 to your computer and use it in GitHub Desktop.
Simple Plugin to Remove Forward tag From a Message. Powered by Pyrogram
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple Plugin to Remove Forward tag From a Message. Powered by Pyrogram | |
# Idea by - https://github.com/lntechnical2 | |
from pyrogram import Client, filters | |
from pyrogram.types import Message | |
@Client.on_message(filters.command("rm_tag") & ~filters.edited & filters.private) | |
async def rmforwdtag(client: Client, message: Message): | |
replied_msg = message.reply_to_message | |
rmtag_chat = message.chat.id | |
if not replied_msg: | |
await message.reply_text("Reply to a Message") | |
return | |
else: | |
await replied_msg.copy(rmtag_chat) |
Piro Sir
Hi hi 👀 ...
Lamo noice trick
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Piro Sir