27 Commits

Author SHA1 Message Date
f1775f79e0 Small bugfixes. 2018-06-17 01:22:07 +05:30
b3525d40d7 Fix typo. 2018-05-31 16:02:37 +05:30
7121966658 Add more /kys 2018-05-31 15:57:01 +05:30
2f5b707205 Change JSON to pretty JSON. 2018-05-27 16:20:09 +05:30
dc38a233ef Send back recieved JSON 2018-05-27 15:57:43 +05:30
2954657920 Add /start 2018-05-15 12:41:30 +05:30
1ca2005dc2 Fix wrong details. 2018-04-11 19:34:53 +05:30
219bc762cf Add /do 2018-04-07 15:45:21 +05:30
52d684a6a6 Removed broken insults from /dc 2018-04-03 02:21:10 +05:30
7c9b40e5d6 Add /are 2018-04-03 02:13:43 +05:30
c8cb807510 Make bot immortal. 2018-04-03 00:43:34 +05:30
dccbb354cd Add more inuslts and kys. 2018-04-02 20:45:32 +05:30
b28b8e20cb Remove /g from regex 2018-04-02 18:10:58 +05:30
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
abb1e850c2 Fix wrong location for getting reply_id 2018-04-02 16:46:26 +05:30
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
ff72c587ac Reorder exits 2018-04-02 13:51:13 +05:30
30cf3ce947 Insults are now replies to messages. 2018-04-02 12:32:40 +05:30
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
33e06ca6b0 Add random_questions.txt 2018-04-01 16:48:20 +05:30
5a2f96b099 Add .gitignore 2018-04-01 16:43:10 +05:30
59e0d23ba5 Add sample api_key.php and change file_get_contents with require 2018-03-31 14:59:19 +05:30
3dbc02dc73 Add insults.txt 2018-03-31 12:30:15 +05:30
f29782456a Add webhook.php for old code. 2018-03-31 12:22:54 +05:30
81c9d48fc8 Add command list sent to BotFather 2018-03-31 11:32:15 +05:30
374048d9be
Create README.md 2018-03-31 11:19:39 +05:30
81b9b60a16
Added LICENSE 2018-03-31 11:19:15 +05:30