Commit Graph

73 Commits

Author SHA1 Message Date
Mahdi Dibaiee
c1c80f1b81 Fix #8 2015-07-27 09:25:27 +04:30
Mahdi Dibaiee
2dd3dd2e80 Avoid Listener leaks by setting a max answer threshold 2015-07-15 21:11:33 +04:30
Mahdi Dibaiee
fbe8d501a7 bump version 2015-07-13 05:36:51 +04:30
Mahdi Dibaiee
532f54db54 If the response is not "ok", reject fetch 2015-07-13 05:36:36 +04:30
Mahdi Dibaiee
daaa587aa2 Add arguments to README example 2015-07-10 03:23:28 +04:30
Mahdi Dibaiee
d4efc99ab9 Update README, javascriptbot renamed to webdevrobot 2015-07-09 16:15:44 +04:30
Mahdi Dibaiee
f88927e970 Fix args being empty 2015-07-09 16:07:08 +04:30
Mahdi Dibaiee
a9473d1ee8 Fix required arguments 2015-07-09 16:00:01 +04:30
Mahdi Dibaiee
41ca326173 feat: If a required argument is not supplied, ask for it and then resolve the command listener.
Thanks to @amovah for his contributions
2015-07-09 15:46:27 +04:30
2aaed21195 Ask for arguments 2015-07-09 14:26:17 +04:30
477f99b40c change return data in argument-parser. 2015-07-09 00:42:11 +04:30
Mahdi Dibaiee
bdfd4ee99d Don't process messages without a text 2015-07-07 03:13:33 +04:30
Mahdi Dibaiee
5c36581e08 Change 'word' argument type from \w to \s – resolves #6 2015-07-07 01:54:29 +04:30
Mahdi Dibaiee
9d470eed7d Remove console.log 2015-07-06 04:52:10 +04:30
Mahdi Dibaiee
b53817ced7 Switch from restler to unirest
restler is buggy and doesn't support utf8 multipart requests
2015-07-06 04:35:25 +04:30
Mahdi Dibaiee
bd4f0ed027 Add Argument Parser 💪 2015-07-05 18:06:27 +04:30
Mahdi Dibaiee
2a8e6a7132 bump version 2015-07-05 15:41:34 +04:30
Mahdi Dibaiee
01ce3afbd2 Default timeout to 20 2015-07-05 15:41:22 +04:30
Mahdi Dibaiee
e036c11152 Fix long-polling 2015-07-05 15:38:07 +04:30
Mahdi Dibaiee
ac625708f9 Make sure we only strip username if it the message contains it 2015-07-05 00:25:07 +04:30
Mahdi Dibaiee
794ef80520 Should remove username from /command@username messages in groups 2015-07-05 00:05:58 +04:30
Mahdi Dibaiee
5fd35f89c1 Should only accept commands if the message starts with them 2015-07-04 23:57:00 +04:30
Mahdi Dibaiee
bfa2313f3a Forgot to build - 0.4.6 2015-07-04 20:23:37 +04:30
Mahdi Dibaiee
06bcc25801 Remove @JavaScriptBot from commands' responses 2015-07-04 20:03:21 +04:30
Mahdi Dibaiee
4223613c16 fix "files" array npm 2015-07-04 15:59:51 +04:30
Mahdi Dibaiee
4e9e7802a5 Include "directories" in npm 2015-07-04 15:55:31 +04:30
Mahdi Dibaiee
0981e2fb78 setMaxListeners to 100, version to 0.4.2 2015-07-04 15:48:07 +04:30
Mahdi Dibaiee
7dabd2ca05 Why was it like that 2015-07-04 04:08:30 +04:30
Mahdi Dibaiee
ffce3644b7 Better now 2015-07-04 04:07:40 +04:30
Mahdi Dibaiee
42d89bef70 Make Documentation BOLD 2015-07-04 04:05:25 +04:30
Mahdi Dibaiee
2c43703659 Remove demo.gif for now 2015-07-04 04:04:21 +04:30
Mahdi Dibaiee
9ff406dfdb Add example 👍 2015-07-04 04:03:35 +04:30
Mahdi Dibaiee
221a6c0677 add javascriptbot repository 2015-07-04 03:56:15 +04:30
Mahdi Dibaiee
7b8ca407e3 Instead of symlinking types, copy them to be compatible with windows and npm 2015-07-03 21:38:24 +04:30
Mahdi Dibaiee
d73cbea3a6 Bump version to 0.4.0 2015-07-03 21:28:28 +04:30
Mahdi Dibaiee
086614f1e7 DOCUMENTATION IS HEREEEEE, YAAAY ✌️ ✌️
+ Small fixes
2015-07-03 19:37:40 +04:30
Mahdi Dibaiee
da12078d73 Add BulkMessage Type 2015-07-03 17:36:07 +04:30
Mahdi Dibaiee
25a34a62df Bump version to 0.3.5 2015-07-03 03:16:37 +04:30
Mahdi Dibaiee
47947f5209 Added File Type 2015-07-03 03:03:22 +04:30
Mahdi Dibaiee
92a43ec84c remove my key 2015-07-03 02:21:34 +04:30
Mahdi Dibaiee
e2d34118da Switch from form-data to restler, a lot better :thumbs_up: 2015-07-03 02:19:36 +04:30
Mahdi Dibaiee
5336bfece8 remove console.log 2015-07-02 05:10:48 +04:30
Mahdi Dibaiee
4591ced347 Use FormData and multipart/form-data instead of application/urlencoded for requests 2015-07-02 05:10:13 +04:30
Mahdi Dibaiee
5f07eaa456 feat Types: Forward Type 2015-07-01 02:34:44 +04:30
Mahdi Dibaiee
c0308f5287 npm install 2015-06-30 12:17:14 +04:30
Mahdi Dibaiee
13b162d274 Explain API, etc 2015-06-30 04:24:32 +04:30
Mahdi Dibaiee
53d2af4239 README 2015-06-30 02:50:59 +04:30
Mahdi Dibaiee
b55fb3c7d6 Add support for WebHooks 2015-06-30 02:50:34 +04:30
Mahdi Dibaiee
4ac725ea58 update README and demo.js 2015-06-29 05:31:41 +04:30
Mahdi Dibaiee
714ffa9458 Fix promises getting rejected silently - Thanks to @joepie91
Fix bot not working properly in groups
Fix bot not answering properly
Bump to version 0.2.2
2015-06-29 05:30:29 +04:30