Skip to content

Commit 6f3c020

Browse files
authored
Improved filters
1 parent 2035bc5 commit 6f3c020

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/channel_post.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#(©)Codexbotz
12
import asyncio
23
from pyrogram import filters, Client
34
from pyrogram.types import Message, InlineKeyboardMarkup, InlineKeyboardButton
@@ -7,7 +8,7 @@
78
from config import ADMINS, CHANNEL_ID
89
from helper_func import encode
910

10-
@Bot.on_message(filters.private & filters.user(ADMINS) & ~filters.command(['start','batch']))
11+
@Bot.on_message(filters.private & filters.user(ADMINS) & ~filters.command(['start','batch','genlink']))
1112
async def channel_post(client: Client, message: Message):
1213
reply_text = await message.reply_text("Please Wait...!", quote = True)
1314
try:

0 commit comments

Comments
 (0)