Browse Source

inline for everyone

merge-requests/1/head
Hugo Levy-Falk 6 years ago
parent
commit
8ee9b050ef
  1. 2
      klafytg/bot.py

2
klafytg/bot.py

@ -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):

Loading…
Cancel
Save