|
|
|
@ -210,7 +210,7 @@ class Bot(telebot.TeleBot):
|
|
|
|
|
found_communities = False |
|
|
|
|
try: |
|
|
|
|
for community in self.iter_communities(): |
|
|
|
|
if user.check_chat(community.chat_id, self): |
|
|
|
|
if user.check_chat(community.chat_id, self) and user.user_id not in community.members: |
|
|
|
|
self.send_template(user.user_id, 'community_suggest', community=community) |
|
|
|
|
found_communities = True |
|
|
|
|
except KeyboardInterrupt as e: |
|
|
|
|