Commit Graph

25 Commits

Author SHA1 Message Date
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
e036c11152 Fix long-polling 2015-07-05 15:38: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
0981e2fb78 setMaxListeners to 100, version to 0.4.2 2015-07-04 15:48:07 +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
47947f5209 Added File Type 2015-07-03 03:03:22 +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
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
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
Mahdi Dibaiee
a8c4c0e33f Fix bot not working properly in groups
Change example a little bit
2015-06-29 04:19:09 +04:30
Mahdi Dibaiee
853145163c V2 - Big update 2015-06-29 03:12:48 +04:30