Commit Graph

133 Commits

Author SHA1 Message Date
Ali Movahedi
23cff62505 style: lint code
lint code on files: index.js, poll.js and argument-parser.js
2016-03-28 12:30:54 +04:30
Ali Movahedi
e5c25bd9c1 refactor: remove grunt and babel
remove grunt from dependencies, and use transformed code instead using babel/register.
change API a litte
2016-03-28 12:26:07 +04:30
Mahdi Dibaiee
8e14a026df chore: bump version 2016-03-17 14:43:54 +03:30
Mahdi Dibaiee
370aeccf3d Merge pull request #16 from axfree/master
Add html and markdown formatting for messages.
2016-03-17 14:42:54 +03:30
axfree
91ede6188e Add html and markdown formatting for messages. 2016-03-16 20:54:15 +09:00
Mahdi Dibaiee
cdb5adc71f feat(stop): ability to stop bot from listening on updates
resolve #12
2015-11-08 06:52:06 +03:30
Mahdi Dibaiee
82961d7fa5 build 2015-07-27 10:08:52 +04:30
Mahdi Dibaiee
10a8af0431 Merge branch 'master' of github.com:mdibaiee/node-telegram-bots 2015-07-27 09:26:04 +04:30
Mahdi Dibaiee
c1c80f1b81 Fix #8 2015-07-27 09:25:27 +04:30
Mahdi Dibaiee
bb5d23d97a Merge pull request #7 from ryush00/patch-1
I found a bug at README.
2015-07-26 19:25:31 +04:30
SeongHoon Ryu
edfd1f8bf5 BUGFIX 2015-07-26 23:25:23 +09:00
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