Commit Graph

42 Commits

Author SHA1 Message Date
Ceda EI 9261247115 Add token table, get_tokens(), add_token() 2019-03-11 18:09:48 +05:30
Ceda EI 6e55bae42c Move buttons to button_groups.py 2019-03-11 17:26:25 +05:30
Ceda EI 095e7791d3 Fix escaping html 2019-02-26 18:07:14 +05:30
Ceda EI 030276a23f Disable web page previews in List Quests/Side Quests 2018-12-26 21:12:50 +05:30
Ceda EI 0fdabeabda Show priority in list quests/side quests 2018-12-21 21:30:24 +05:30
Ceda EI cef59c494e Add /rate. Remove vars for handlers. 2018-12-03 11:41:44 +05:30
Ceda EI 38cffcf8b7 Add player status to main menu. 2018-11-26 20:04:17 +05:30
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 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