junedkh / jmdkh-mltb

Unofficial Repository: Telegram bot which can download torrents, mega, google drive, telegram file and direct links + all yt-dlp supported sites, then upload them to google drive or telegram cloud. This bot supports more features like zip or extract before upload, seed after upload using qBittorrent or aria2c and many more, read features below.
https://t.me/+5d2_gaR0QwwyNGE1
GNU General Public License v3.0
11 stars 11 forks source link

[Feature Request] Particular User ID Blacklist Feature #64

Closed tejas101k closed 1 year ago

tejas101k commented 1 year ago

While authorizing a group chat [-100xxxxxx] meaning that giving a green flag to every group member present there for utilising the bot. But in a normal off topic/chat group consisting naturally of 20-25 members there are like 4-5 members which i don't want them using the bot. A simple scenario where i don't want to stop them being member of the group chat (by banning or kicking them) but just want to blacklist the particular user id's from using the bot. Like if the user id is in "BLACKLISTED_CHATS" config the bot won't be replying to particular blacklisted user in that group.

tejas101k commented 1 year ago

Just added it with a simple python workaround than i thought, in authorize module. I will maybe later contribute with a pr after testing it.