Commit Graph

67 Commits

Author SHA1 Message Date
Ceda EI c8cb807510 Make bot immortal. 2018-04-03 00:43:34 +05:30
Ceda EI dccbb354cd Add more inuslts and kys. 2018-04-02 20:45:32 +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 33e06ca6b0 Add random_questions.txt 2018-04-01 16:48:20 +05:30
Ceda EI 5a2f96b099 Add .gitignore 2018-04-01 16:43:10 +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 3dbc02dc73 Add insults.txt 2018-03-31 12:30:15 +05:30
Ceda EI f29782456a Add webhook.php for old code. 2018-03-31 12:22:54 +05:30
Ceda EI 81c9d48fc8 Add command list sent to BotFather 2018-03-31 11:32:15 +05:30
Ceda EI 374048d9be
Create README.md 2018-03-31 11:19:39 +05:30
Ceda EI 81b9b60a16
Added LICENSE 2018-03-31 11:19:15 +05:30