Commit graph

2149 commits

Author SHA1 Message Date
Jannes Höke
593153128c Update examples 2015-11-22 19:15:37 +01:00
Jannes Höke
d91f210f7c refactor BotEventHandler to Updater, improve documentation, add idle() method 2015-11-22 19:15:17 +01:00
Jannes Höke
65177e791f raise error instead of quietly exiting on bad SSL cert 2015-11-22 16:46:17 +01:00
Jannes Höke
15501e185b renamed broadcaster.py to dispatcher.py 2015-11-22 14:52:41 +01:00
Jannes Höke
1782d0d19b refactor Broadcaster to Dispatcher 2015-11-22 14:47:38 +01:00
Jannes Höke
88fbf3b5cf remove broadcaster argument from __init__ 2015-11-22 14:27:05 +01:00
Jannes Höke
c7a1d8dca3 test additional arguments 2015-11-22 14:08:33 +01:00
Jannes Höke
3e732a0736 fix multiple additional arguments 2015-11-22 14:07:20 +01:00
Jannes Höke
628e1b743a add bits of documentation 2015-11-22 13:58:40 +01:00
Jannes Höke
e4de3f00b8 Add optional handler argument 'args' and documentation on handlers 2015-11-22 13:57:59 +01:00
Jannes Höke
32c021fdd5 Don't create new bot when broadcaster is passed 2015-11-22 13:30:23 +01:00
Jannes Höke
a6e5a71e05 Check SSL-Certificate, if possible 2015-11-22 01:03:29 +01:00
Jannes Höke
4d87e236be Use random port for travis and py2&/py3 compability 2015-11-21 23:22:41 +01:00
Jannes Höke
29ab0556f0 test Webhook completed 2015-11-21 23:09:44 +01:00
Jannes Höke
fca8aee177 improve logging 2015-11-21 23:09:19 +01:00
Jannes Höke
6a80a33aef test for error on getUpdates and began to test webhook 2015-11-21 21:22:58 +01:00
Jannes Höke
7c9928c58f Let shutdown return immediately if server is not running 2015-11-21 21:22:11 +01:00
Jannes Höke
0cd7aa92ae more logging 2015-11-21 21:21:09 +01:00
Jannes Höke
6626d4534e test @run_async 2015-11-21 19:35:24 +01:00
Jannes Höke
6b309397e8 send less messages in more time so travis can take its time 2015-11-21 16:18:19 +01:00
Jannes Höke
618df51811 flake8 2015-11-21 16:04:06 +01:00
Jannes Höke
d38add1a1c really? 2015-11-21 15:50:39 +01:00
Jannes Höke
1c7e784662 add setWebhook to mock bot 2015-11-21 15:48:45 +01:00
Jannes Höke
0006294f29 update tests 2015-11-21 15:45:45 +01:00
Jannes Höke
c1f194a310 change all start() to start_polling() 2015-11-21 15:31:23 +01:00
Jannes Höke
cccd6e5baf Merge branch 'master' of github.com:leandrotoledo/python-telegram-bot into boteventhandler 2015-11-21 03:29:37 +01:00
Jannes Höke
a0baa68cf3 Merge pull request #105 from rahiel/master
handle "Unauthorized" exceptions in echobot
2015-11-20 18:28:08 +01:00
Rahiel Kasim
62b79df0a4 handle "Unauthorized" exceptions in echobot 2015-11-20 14:41:12 +01:00
Jannes Höke
1246039872 Merge pull request #104 from mASOUDd/boteventhandler
remove trailing whitespaces
2015-11-17 16:05:41 +01:00
Masoud Naservand
ed6dd76ae8 Corrected trailing whitespaces 2015-11-17 18:27:22 +03:30
Jannes Höke
70de2bd3f1 Merge pull request #102 from franciscod/patch-1
README: add link to TwitterForwarderBot
2015-11-17 09:08:38 +01:00
Francisco Demartino
8bde310ec7 README: add link to TwitterForwarderBot 2015-11-17 01:34:00 -03:00
Jannes Höke
be368f7d74 add example for webhook 2015-11-17 00:30:21 +01:00
Jannes Höke
9defc41774 correct docstrings 2015-11-17 00:04:28 +01:00
Jannes Höke
ee8b78aa0d pep8 and docs 2015-11-16 20:43:35 +01:00
Jannes Höke
0b8fd24771 fixed issues with python2 2015-11-16 20:35:27 +01:00
Jannes Höke
396dc6cd3c Implement webhook listener server 2015-11-16 13:05:57 +01:00
Jannes Höke
ba3d174fde Change eh.start() to eh.start_polling() 2015-11-16 13:05:17 +01:00
Jannes Höke
ab313488ad Usage instructions for bots 2015-11-15 20:13:03 +01:00
Jannes Höke
d808462fb6 Simple bot 2015-11-15 20:02:09 +01:00
Jannes Höke
71e73c3999 logging 2015-11-15 19:21:35 +01:00
Jannes Höke
a55df8b5e1 update example 2015-11-15 19:14:12 +01:00
Jannes Höke
f59efe0f4b forward related update to errorhandlers 2015-11-15 19:12:42 +01:00
Jannes Höke
1b79a57673 Merge branch 'master' of github.com:leandrotoledo/python-telegram-bot into boteventhandler 2015-11-15 17:38:37 +01:00
Jannes Höke
ae59a18e2d update example 2015-11-15 17:37:01 +01:00
Jannes Höke
12201f392d graceful stopping of threads, use logging, reuse of broadcaster 2015-11-15 17:36:38 +01:00
leandrotoledo
8f3fe123e3 Fix travis 2015-11-13 10:53:31 -02:00
Jannes Höke
04050ca883 Merge branch 'master' of github.com:leandrotoledo/python-telegram-bot into boteventhandler 2015-11-13 11:05:26 +01:00
Jannes Höke
c3b3d51286 Merge pull request #99 from rahiel/readme
improve echobot with cleaner code and basic exception handling
2015-11-12 19:21:29 +01:00
Jannes Höke
10451509f1 fix for issue #79 2015-11-12 19:15:39 +01:00