Commit Graph

23 Commits

Author SHA1 Message Date
Ceda EI 39b25478d4 Remove legacy code. Remove default insulting. Allow param to /kys 2018-08-08 20:21:04 +05:30
Ceda EI 67cf9a6b61 Add /help 2018-07-23 23:28:50 +05:30
Ceda EI c1b5c73859 Update words function to use default language. 2018-06-23 15:15:11 +05:30
Ceda EI a3464d866e Add /wiki for wikipedia 2018-06-17 17:41:43 +05:30
Ceda EI 71467461de Improve /wiki 2018-06-17 16:06:55 +05:30
Ceda EI b22fa263c1 Remove /dc 2018-06-17 01:43:39 +05:30
Ceda EI f1775f79e0 Small bugfixes. 2018-06-17 01:22:07 +05:30
Ceda EI 2f5b707205 Change JSON to pretty JSON. 2018-05-27 16:20:09 +05:30
Ceda EI dc38a233ef Send back recieved JSON 2018-05-27 15:57:43 +05:30
Ceda EI 2954657920 Add /start 2018-05-15 12:41:30 +05:30
Ceda EI 219bc762cf Add /do 2018-04-07 15:45:21 +05:30
Ceda EI 52d684a6a6 Removed broken insults from /dc 2018-04-03 02:21:10 +05:30
Ceda EI 7c9b40e5d6 Add /are 2018-04-03 02:13:43 +05:30
Ceda EI c8cb807510 Make bot immortal. 2018-04-03 00:43:34 +05:30
Ceda EI b28b8e20cb Remove /g from regex 2018-04-02 18:10:58 +05:30
Ceda EI 2a9573a9e2 New implementation for /kys
Changed code to use the sender's username or name (if he/she has no username) and replace ##name## in kys.txt with that
2018-04-02 18:03:40 +05:30
Ceda EI abb1e850c2 Fix wrong location for getting reply_id 2018-04-02 16:46:26 +05:30
Ceda EI 6e50489f35 Add kys, Fix reply.
Added kys.txt, kys() function and its corresponding array to modules array.
Also, replace == with === in reply for send methods.
2018-04-02 16:41:36 +05:30
Ceda EI ff72c587ac Reorder exits 2018-04-02 13:51:13 +05:30
Ceda EI 30cf3ce947 Insults are now replies to messages. 2018-04-02 12:32:40 +05:30
Ceda EI e18d14ba4a Add reply option, Change function order.
Added $reply to send_code, send_text, send_html. Replies to message now in coin tosses and /is, /should, etc. Reordered functions and moved them after code. Moved reply below function so commands will work on replies also.
2018-04-02 12:28:21 +05:30
Ceda EI 59e0d23ba5 Add sample api_key.php and change file_get_contents with require 2018-03-31 14:59:19 +05:30
Ceda EI f29782456a Add webhook.php for old code. 2018-03-31 12:22:54 +05:30