Skip to content

Instantly share code, notes, and snippets.

View M-fazin's full-sized avatar
:electron:
Learning

Muhammed Fazin M-fazin

:electron:
Learning
View GitHub Profile
@nuhmanpk
nuhmanpk / ForceSub.py
Last active September 7, 2023 04:09
Add Force Subscribe To Your Bot
import pyrogram
from pyrogram import Client, filters
from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton
from pyrogram.types import User, Message
from pyrogram.errors import UserNotParticipant
UPDATE_CHANNEL= "channel name without '@'"
# Follow me on Github - Github.com/nuhmanpk
# Join @BugHunterBots for more
@Itz-fork
Itz-fork / no_tag.py
Created July 29, 2021 04:45
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