Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 1.08 KB

ASSIGNMENT.md

File metadata and controls

44 lines (37 loc) · 1.08 KB

Main mission (Levels):

  1. List my own tasks

    • Edit the add and list function such that only tasks unique to your chatId is shown when you call /list.
  2. Mark as complete

    • Implement a function done such that tasks can be marked as done.
    User : "done exercise"
    Bot  : "Marked as complete: exercise"
    
    • Edit list such that tasks marked as done will be shown with a [X]
    User : "list"
    Bot  : "1. exercise [X]"
    
  3. Delete tasks

    • Implement a function delete such that tasks can be deleted from the database.
    User : "delete exercise"
    Bot  : "Deleted: exercise"
    
  4. Add a hide command which enables 'hide mode' which will display "No access" if list or add is run. /hide will act as a toggle

    User : "list"
    Bot  : "1. exercise [X]"
    User : "hide"
    Bot  : "Locked"
    User : list
    Bot  : "No access"
    User : "hide"
    Bot  : "Unlocked"
    User : "list"
    Bot  : "1. exercise [X]"
    

Optional challenge:

  • Add tagging
  • Pick random todo
  • Implement search function