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