Commit Graph

93 Commits

Author SHA1 Message Date
Mahdi Dibaiee
c99ca2cd30 chore: bump version 2016-04-19 13:57:54 +04:30
Mahdi Dibaiee
c45c832f97 Merge pull request #22 from edencore/patch-1
fix(babel): replace window with global
2016-04-19 13:56:45 +04:30
eden lane
4ddcb20807 fix(babel): replace window with global
I'm pretty sure that here should be `global` instead of `window`.
Does `window` work for you? I have a ReferenceError.
2016-04-19 11:58:30 +03:00
Mahdi Dibaiee
ef12125190 fix(babel): don't require babel-polyfill if it's already required 2016-04-16 18:04:19 +04:30
Mahdi Dibaiee
c76eb0c64d chore(lint): update eslint configuration, re-lint
chore(gitignore): don't ignore src/types
2016-03-28 20:40:59 +04:30
Mahdi Dibaiee
a357cd7368 Merge pull request #18 from amovah/master
remove babel and grunt from dependencies
2016-03-28 19:22:32 +04:30
Ali Movahedi
7791764892 chore: update package.json, remove ignored files
update directories in package.json, remove build and types folder
2016-03-28 12:50:37 +04:30
Ali Movahedi
55b89482b4 chore: update .gitignore and package.json
add build and types folder into .gitignore
remove index.js from files in package.json
2016-03-28 12:41:40 +04:30
Ali Movahedi
6e732a36fb chore: README 2016-03-28 12:37:53 +04:30
Ali Movahedi
03bfae0028 feat(API): add previous API
copy types folder into module root path
2016-03-28 12:35:56 +04:30
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