Skip to content

Instantly share code, notes, and snippets.

@Itz-fork
Created July 29, 2021 04:45
Show Gist options
  • Save Itz-fork/626eba3cfd89ac78a89023d7399d2f24 to your computer and use it in GitHub Desktop.
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
# 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)
@M-fazin
Copy link

M-fazin commented Jul 29, 2021

Piro Sir

@Itz-fork
Copy link
Author

Piro Sir

Hi hi 👀 ...

@Legend-Mukund
Copy link

Lamo noice trick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment