Browse Source

Hotfix

master
Lev 2 years ago
parent
commit
13db08574f
  1. 2
      bot.py

2
bot.py

@ -210,7 +210,7 @@ class Bot(telebot.TeleBot):
found_communities = False found_communities = False
try: try:
for community in self.iter_communities(): 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) self.send_template(user.user_id, 'community_suggest', community=community)
found_communities = True found_communities = True
except KeyboardInterrupt as e: except KeyboardInterrupt as e:

Loading…
Cancel
Save