Commit Graph

23 Commits

Author SHA1 Message Date
Ceda EI c4d1452f8a Change text if no quests/side quests exist 2018-11-04 18:35:56 +05:30
Ceda EI 28d2dc4244 Change CommandHandler to MessageHandler for unknown. 2018-11-04 13:47:38 +05:30
Ceda EI 75eb985f94 Allow dropping state. Add /cancel.
Add delete_from_db to base_quest. Add drop_state. Send unknown commands
to message_handling. Add /cancel.
2018-11-04 13:28:08 +05:30
Ceda EI 6b9687ffbe Add edit name, change priority, change difficulty 2018-11-03 23:00:26 +05:30
Ceda EI bbc97d4d4d Send XP earned when marked as done.
Changed send_status to take a prefix message that is send after name and
before the details
2018-11-03 19:18:28 +05:30
Ceda EI 2cdc6cae09 Send error if Quest/Side Quest not found. 2018-11-03 19:04:06 +05:30
Ceda EI df944ed6ac Disallow checking for quests/side quests in between adding them 2018-11-03 18:57:51 +05:30
Ceda EI 705b10abc9 Update quest/side quest view.
Quests/Side Quests have status listed. Completed quests only show a back
button
2018-11-03 16:29:06 +05:30
Ceda EI 74424526d6 Add "Mark as done", add gifs to sample config for it. 2018-11-03 16:11:03 +05:30
Ceda EI fc6900e222 Back button in side quest view 2018-11-03 04:31:19 +05:30
Ceda EI e58c01201e Back button in quest view 2018-11-03 04:29:14 +05:30
Ceda EI 48bce46990 Add listing quests / side quest details.
Sets status to eq/esq along with the qid in extra
2018-11-03 03:31:08 +05:30
Ceda EI 6fda911046 Add List Quests/Side Quests 2018-11-01 22:54:56 +05:30
Ceda EI 81f913047c Made bot case insensitive 2018-11-01 19:39:02 +05:30
Ceda EI 0b74dcabf0 Add send_status, /me. Drop date from tables. 2018-11-01 18:27:01 +05:30
Ceda EI 7fca63a2ab Complete adding quests and side quests.
Add add_name, add_imp, add_diff functions. Add states and relevant if
clauses. Add state of quest on first add.
2018-11-01 16:46:45 +05:30
Ceda EI 260d1f6fde Modify DB. Add message handler. Deal with Add Quest/Side QUest.
Changed DB to not mark other fields as NOT NULL. Changed Side-Quest(s)
to Side Quests in start. add add_quest method that deals with "Add
Quests" and "Add Side Quests" messages.
2018-11-01 04:04:01 +05:30
Ceda EI 1127673d28 Change state table to include extra field 2018-10-31 18:33:47 +05:30
Ceda EI d9e9104c93 Change field name (user_id -> chat_id) for consistency. 2018-10-27 15:27:13 +05:30
Ceda EI 7672e33b4e Add initial code for base_quest, quest, side_quest.
Also, fix typo.
2018-10-25 00:51:48 +05:30
Ceda EI f1b866c4a2 Set up sqlite database. 2018-10-24 19:18:02 +05:30
Ceda EI 6b638f2221 Complete /start 2018-10-22 15:31:49 +05:30
Ceda EI 7311184d4d Add /start. Add gitignore, sample.config.py. 2018-10-17 20:22:21 +05:30