Compare commits
No commits in common. "0922b5a4a4232c3601502fa832d1598e001757c0" and "2ee74e70ac49750c7c9a4b4b365637920c677ffc" have entirely different histories.
0922b5a4a4
...
2ee74e70ac
@ -20,8 +20,6 @@ class Daemon(base.Daemon, queues.TasksHandlerMixin):
|
||||
if bot['type'] == 'telegram':
|
||||
token = bot['secrets']['telegram_token']
|
||||
self.process_telegram(token, payload['body'])
|
||||
else:
|
||||
print('Unknown bot type:', bot['type'])
|
||||
|
||||
def process_telegram(self, token, payload):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user