1
0

Add response to adding task

This commit is contained in:
Akbar Rahman 2018-06-26 20:50:58 +01:00
parent 672c893280
commit 567aef53c5
Signed by: alvierahman90
GPG Key ID: 20609519444A1269

1
bot.py
View File

@ -44,6 +44,7 @@ def add_task(task, chat_id):
tasks = get_tasks(chat_id)
tasks.append(task)
set_tasks(tasks, chat_id)
bot.sendMessage(chat_id, "Added task '{0}'.".format(task))
def rm_task(task, chat_id):