1
0

Send task text instead of ID when doing task

This commit is contained in:
2018-07-08 22:21:49 +01:00
parent eeb20fcc26
commit d49115c421

2
bot.py
View File

@@ -200,7 +200,7 @@ def do_tasks(task_ids, chat_id):
task = get_task(int(i), chat_id)
task.do()
set_task(int(i), task, chat_id)
bot.sendMessage(chat_id, "Did task {0}".format(i))
bot.sendMessage(chat_id, "Did task {0}".format(task))
def undo_tasks(task_ids, chat_id):