J-Rios / TLG_JoinCaptchaBot

Telegram Bot to verify if users joining a group are human. The Bot sends an image captcha for each new user and kicks any of them who can't solve the captcha in a specified time.
GNU General Public License v3.0
516 stars 217 forks source link

[Request] Make bot private to certain groups only #52

Closed sharuzzaman closed 4 years ago

sharuzzaman commented 4 years ago

I would like to host the bot for several groups that I manage and would like to have the bot only responding or can be added to a certain group only.

This StackOverflow post have hint to how to control the bot: https://stackoverflow.com/questions/46015319/how-to-make-a-private-telegram-bot-accessible-only-by-its-owner

If you can help show where the bot determines the channel it joins, I can try to figure out how to limit the bot. Or someone else with better Python expertise can help as well

Thank you.

J-Rios commented 4 years ago

Bot Private support has been implemented. Also added instructions in README regarding this new feature :)