inline for everyone

This commit is contained in:
Hugo Levy-Falk 2020-03-04 15:54:55 +00:00
parent 1a63d9424a
commit 8ee9b050ef

View file

@ -52,7 +52,7 @@ class Bot:
def is_allowed(self, update, context):
if update.inline_query:
return update.effective_user.id in self.channels
return True
return update.effective_chat.id in self.channels
def start(self):