Commit Graph

44 Commits

Author SHA1 Message Date
Ceda EI e78fa9caa1 Fix unable to delete side quests. 2018-11-17 12:54:52 +05:30
Ceda EI a80a7fbcc5 Add emojis. 2018-11-11 11:21:51 +05:30
Ceda EI 7b0ea8bedc Add more emojis. Some minor changes to UI. 2018-11-11 00:52:08 +05:30
Ceda EI 93aaebf655 Add emojis to main menu. 2018-11-10 23:40:31 +05:30
Ceda EI 2fd5804e87 Update /help 2018-11-10 21:36:31 +05:30
Ceda EI 0156419aed Fix typo 2018-11-10 16:00:52 +05:30
Ceda EI aab7f7cc29 Fix custom keyboard after edit quest. 2018-11-07 21:00:10 +05:30
Ceda EI e0c28b7410 Add /help 2018-11-07 20:11:02 +05:30
Ceda EI b66fda697b Add Delete Quest/Side Quest option.
Send /me on invalid input and reset state.
2018-11-07 19:46:07 +05:30
Ceda EI 4c5b3de556 Close database on sigterm 2018-11-05 15:30:36 +05:30
Ceda EI 83ced1b9a0 Fix webhook 2018-11-04 23:13:00 +05:30
Ceda EI 9d7baf5b18 Add support for webhooks. 2018-11-04 20:16:21 +05:30
Ceda EI 79a81bb9d1 Add template for systemd service. 2018-11-04 19:59:00 +05:30
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 3ffabd4ded Add get_side_quests to player. Fix other bugs. 2018-10-31 03:30:43 +05:30
Ceda EI b650b0e1db Add get_quests to player 2018-10-30 20:03:43 +05:30
Ceda EI 9adbef0f27 Add get_points and add_points 2018-10-30 08:50:46 +05:30
Ceda EI 84c3e94c0f Add player class, status functions to it. 2018-10-28 16:04:52 +05:30
Ceda EI a3f50b5334 Add get_from_db to base_quest. Add other functions.
Add get_quest, add_quest, get_side_quest, add_side_quest for easier
way to add / retrieve quests and side quests.
2018-10-27 16:59:01 +05:30
Ceda EI 15dc9c5575 Add add_to_db, update_db to base_quest 2018-10-27 16:37:24 +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
Ceda EI e1105eecfb Add LICENSE 2018-10-16 18:02:56 +00:00
Ceda EI 9cb1955caf Initial commit 2018-10-16 18:00:12 +00:00