Commit Graph

110 Commits

Author SHA1 Message Date
Ali Movahedi
bc5f14ebde fix: move optional argument to end 2017-09-12 18:39:09 +04:30
Ali Movahedi
88af10a8b4 feat: customizable message for required params 2017-09-12 13:39:58 +04:30
Mahdi Dibaiee
4c841c87e8 chore: bump version 2017-09-12 12:52:50 +04:30
Mahdi Dibaiee
c80ee4b938 Merge pull request #35 from amovah/master
feat: add Delete type
2017-09-12 12:50:40 +04:30
Ali Movahedi
65900e3252 feat: add Delete type 2017-09-12 11:10:13 +04:30
Mahdi Dibaiee
bf0e71854b Merge pull request #34 from austinhuang0131/patch-3
An AD (Since I contributed some)
2017-07-21 15:13:57 -04:00
Austin Huang
b94d403437 An AD (Since I contributed some)
Feel free to reject
2017-07-21 15:07:51 -04:00
Mahdi Dibaiee
f337cfe1cb chore: bump version 2016-12-17 09:17:44 +03:30
Mahdi Dibaiee
5c350631c2 Merge pull request #32 from austinhuang0131/patch-2
Added edited_channel_post.
2016-12-17 09:16:46 +03:30
Austin Huang
222c00ba20 Added edited_channel_post. 2016-12-14 10:09:14 -05:00
Mahdi Dibaiee
a614760b3f chore: bump version 2016-11-23 19:13:45 +03:30
Mahdi Dibaiee
a1c8f8e0c3 chore: bump version 2016-11-22 22:15:40 +03:30
Mahdi Dibaiee
9af30d527e Merge pull request #29 from austinhuang0131/patch-1
Solved the issue on my bot: Blame API channel_post update!
2016-11-22 22:13:26 +03:30
Austin Huang
2cc18a3eb8 Update index.js 2016-11-22 13:39:07 -05:00
Mahdi Dibaiee
12ffd75527 fix(edited_message): new updated messages have an edited_message property instead of message. 2016-05-27 11:56:05 +04:30
Mahdi Dibaiee
dd7dd633fc chore: bump version 2016-04-20 15:17:52 +04:30
Mahdi Dibaiee
9a4916002e chore: bump version 2016-04-19 13:58:38 +04:30
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