Compare commits

..

No commits in common. "54f7581657cf74583e3a6bc4733a1486692f5963" and "c6a2710087ea31a22592c4ddbb8568e578b82fd0" have entirely different histories.

View File

@ -35,7 +35,7 @@ class Daemon(base.Daemon):
self.telegram_pollers[project_name][bot_name] = None self.telegram_pollers[project_name][bot_name] = None
time.sleep(10) time.sleep(10)
def start_polling(self, telegram_token, queue): def start_polling(telegram_token, queue):
bot = telebot.TeleBot(telegram_token) bot = telebot.TeleBot(telegram_token)
@bot.message_handler() @bot.message_handler()
def do_action(message): def do_action(message):