Commit Graph

120 Commits

Author SHA1 Message Date
Mahdi Dibaiee
1273102625
Merge pull request #38 from laurynas-karvelis/master
Allow module consumers to deal with Promise rejections themselves
2018-02-05 21:45:01 +03:30
Laurynas Karvelis
790f988148 Reject Promise at Base.send() method if api request got rejected 2018-02-05 16:35:22 +02:00
Laurynas Karvelis
92f892a467 Do not try to eat up request errors with catch as this will break rejection chain 2018-02-05 16:33:45 +02:00
Mahdi Dibaiee
118e1ece30 chore(version): bump version to 0.9.1 2018-02-01 19:21:06 +03:30
Mahdi Dibaiee
762a6cc309
Merge pull request #37 from laurynas-karvelis/master
Fix edge case when message object is undefined
2018-02-01 19:19:57 +03:30
Laurynas Karvelis
ddc588899d Fix edge case when message object is undefined 2018-02-01 17:02:59 +02:00
Mahdi Dibaiee
17630912ab chore(version): bump version 2017-09-12 20:36:42 +04:30
Mahdi Dibaiee
fe67118acb Merge pull request #36 from amovah/master
feat: customizable message for required params
2017-09-12 20:34:26 +04:30
Ali Movahedi
9c7adddb0a perf: remove if for checking customMessage 2017-09-12 20:26:28 +04:30
Ali Movahedi
5754b24912 style: remove extra white space 2017-09-12 18:41:39 +04:30
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