𝖮𝖬𝖦 𝗑 𝖢𝖫𝖮𝖴𝖣 ⚡
رفتن به کانال در Telegram
نمایش بیشتر
کشور مشخص نشده استدسته بندی مشخص نشده است
397
مشترکین
اطلاعاتی وجود ندارد24 ساعت
+67 روز
+1030 روز
آرشیو پست ها
🚀 Official @BotFather Mini App 📱
@BotFather now hosts a native mini app that developers can use to create new bots or manage existing ones in a streamlined interface.
The previous flow remains unchanged – the mini app simply offers an alternative way to seamlessly access the same functionality.
The mini app is especially useful on mobile devices – allowing you to easily access your bot token, toggle settings or edit your bot in a few taps...😍
Complete regex patter for those who spam +18
import re
from pyrogram import Client, filters, enums
@Client.on_message(filters.group & filters.text)
async def group_filter_spam(client, message):
user = message.from_user
if not user:
return
# Check if user is admin or owner
try:
member = await client.get_chat_member(message.chat.id, user.id)
if member.status in [enums.ChatMemberStatus.ADMINISTRATOR, enums.ChatMemberStatus.OWNER]:
return
except:
return
# 18+ spam words
spam_words = re.compile(
r"(desi\s+xxx|secret\s+cams|no\s+censorship|crystal\s+clear|steal\s+it|@\w+_bot)",
re.IGNORECASE
)
# Links and usernames
link_pattern = re.compile(
r'(?im)(?:https?://|www\.|t\.me/|telegram\.dog/)\S+|@[a-z0-9_]{5,32}\b'
)
# If message has spam or link
text = message.text or ""
if spam_words.search(text):
await message.delete()
await message.reply("⚠️ 18+ content is not allowed. User has been removed.", quote=True)
elif link_pattern.search(text):
await message.delete()
await message.reply("⚠️ Links are not allowed. User has been removed.", quote=True)
To Delete this kind of message use above code in autofilter bot
✅ How to Block 18+ & Link Spam
📁 Step-by-step Instructions:
1. Go to your bot directory
2. Open the plugins/ folder
3. Create a new file and name it :
spam.py
🤖 Restart your bot >> Result 👇
✅ Deletes links, 18+ messages
✅ Skips group admins/owners
✅ Works instantly on spam
❓ Need Help?
If you have any doubts, contact the Support Group or reply here...😈 OMG Mirror Area [ 4GB ] 😇
📞 Group Open » https://t.me/OMGxMirror
✔️ Dump Link » Get Link
😇 Share and support !! 🔠
🚀 TMV Rss
📣https://t.me/+gMI2B37zHS8zZjdl
📣https://t.me/+gMI2B37zHS8zZjdl
🚀 TBL Rss
📣https://t.me/+mDOpK9S2B9thZmQ1
📣https://t.me/+mDOpK9S2B9thZmQ1
🏆 Share and support! 🎯
Guys 😇
• Metadata
• Attachment Url
🤖 Adding ⚡Updated ⚡
Repo : https://github.com/HarixTGX/LMTB
get_wish 24-hour format ⚡
import pytz
from datetime import datetime
def get_wish():
tz = pytz.timezone('Asia/Colombo')
time = datetime.now(tz)
hour = time.hour # Get hour in 24-hour format
minute = time.minute # Get minute for precise comparisons
# Good Morning: 5:00 AM to 11:59 AM
if 5 <= hour < 12:
status = "Good Morning 🌞"
# Good Afternoon: 12:00 PM to 4:59 PM
elif 12 <= hour < 17:
status = "Good Afternoon 🌗"
# Good Evening: 5:00 PM to 8:59 PM
elif 17 <= hour < 21:
status = "Good Evening 🌘"
# Good Night: 9:00 PM to 4:59 AM
else: # Covers 9:00 PM to 4:59 AM
status = "Good Night 🌙"
return status🗂 LMTB HEROKU ⚙
🔗 Repo : Click 📁
🔗 Colab Deployer : Click ➕
🗺 Guide : Click 📊
✅ Channel : @OMGxCloud 📢
👥 Community : @OMGxCloudSupport 🔔
⚠️ Notes : Run All Cells One By One to Deploy Successfully... (Alternatively you can Check Logs anytime) ➡️
A Super Enhanced Telegram bot which can download torrents, mega, google drive links, telegram file, direct links and all yt-dlp sites, upload to google drive, telegram cloud, rclone clouds or ddl servers. Made with Pyrogram in Python by LMTB And HarixTGX Devs.
Repo : https://github.com/HarixTGX/LMTB
📢 Welcome to Our Channel ✨
✨ 4GB Free Leech Group - https://t.me/OMGxMirror 🏖
🔖 Donate Minimum ₹15 Only . I will open Leech Group with 4Gb Support 👍
☄️ UPI -
harixtg@okhdfcbank 💭
💬 Contact me on - @HarixTGX 🔥