Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

Add chat blacklist and whitelist (Redone) #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nitanmarcel
Copy link

This is a pull request that has been made before by me but the code was full of problems and typos. Those have been fixed and the pull request closed. I hope there won't be any things missing now.

The usage is this the same as the old one: There are two lists, one for whitelisted chats and the other one for blacklisted ones. If there are one or multiple chat_ids in the whitelisted chats list the bot won't join other chats, and if the whitelisted chats list is empty but if there are one or multiple chat_ids in the blacklisted chats list the bot won't join those groups. And if both lists have chat_ids in it only the blacklist will be taken into consideration.

@RealAkito
Copy link

Pretty nice

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants