Compare commits

..

No commits in common. "bd1e26cb5028a78e3cbfb06d499be127af38ab95" and "5102564b8446f71d144599e74af5dc64498aad5b" have entirely different histories.

View File

@ -42,5 +42,5 @@ class Daemon(base.Daemon):
bot = telebot.TeleBot(token)
@bot.message_handler(content_types=['audio', 'photo', 'voice', 'video', 'document', 'animation', 'text', 'location', 'contact', 'sticker', 'video_note'])
def do_action(message: telebot.types.Message):
queues.set_task(queue, message.json, 1)
queues.set_task(queue, json.loads(message.json), 1)
bot.polling()