Commit graph

1001 commits

Author SHA1 Message Date
mattijn
69aa1c252b added an easier way to get frequent commands from message. 2015-09-07 04:55:00 +02:00
mattijn
5b8f41b3c1 pep 8 command_handler.py 2015-09-07 04:17:43 +02:00
mattijn
ea5c690e7a add a help for extra commands. 2015-09-07 03:38:07 +02:00
mattijn
9145f24efa added a father command. and some other a way to hide commands in the help. 2015-09-07 03:13:40 +02:00
leandrotoledo
c590d9c2fd Moving _requestURL method to utils package 2015-09-05 11:56:06 -03:00
leandrotoledo
cfd401f22b Moving _requestURL method to utils package 2015-09-05 11:55:55 -03:00
leandrotoledo
7f790c3cb2 Releasing v2.8.2 2015-09-04 23:23:41 -03:00
leandrotoledo
30749c3b66 Merging testing 2015-09-04 23:21:31 -03:00
leandrotoledo
8f0447156b Merge branch 'testing' 2015-09-04 23:20:31 -03:00
leandrotoledo
df000f8086 Fix regression on ReplyMarkup and add certificate to is_inputfile method 2015-09-04 23:20:14 -03:00
Leandro Toledo
3d835527e0 Update README.rst 2015-09-04 23:07:03 -03:00
Leandro Toledo
323052a6c9 Update README.rst 2015-09-04 23:05:14 -03:00
Leandro Toledo
ef4871cce1 Update README.rst 2015-09-04 19:14:54 -03:00
leandrotoledo
f355af1d2b Restoring new features after rebase 2015-09-04 19:11:31 -03:00
leandrotoledo
121e365348 Oops, restoring file on testing 2015-09-04 19:07:20 -03:00
leandrotoledo
82f1d18f4b Releasing v2.8.1 2015-09-04 19:00:54 -03:00
leandrotoledo
79cdb6cafe Adding test to check if thumbs are PhotoSize instances 2015-09-04 18:58:48 -03:00
leandrotoledo
49ff02dcf4 Fix regression on Telegram objects with thumb properties 2015-09-04 18:50:26 -03:00
leandrotoledo
be23ff5d29 Fix codeclimate 2015-09-04 18:35:35 -03:00
leandrotoledo
72a7355c2f Fix codeclimate 2015-09-04 18:33:51 -03:00
leandrotoledo
64cf9ed941 Fix codeclimate 2015-09-04 18:29:37 -03:00
leandrotoledo
bb84113272 Releasing 2.8 2015-09-04 18:19:05 -03:00
leandrotoledo
d740ce89cf Keep off some features still in progress 2015-09-04 18:11:47 -03:00
leandrotoledo
245238b3a2 Keep off some features still in progress 2015-09-04 18:03:04 -03:00
Leandro Toledo
e693922fe8 Merge pull request #54 from leandrotoledo/testing
Merge Testing branch
2015-09-04 17:59:37 -03:00
leandrotoledo
62f06da897 Move command_handler tests to tests/ folder 2015-09-04 17:54:30 -03:00
leandrotoledo
05b7fda4a1 Add certificate arg to setWebhook function 2015-09-04 17:53:39 -03:00
leandrotoledo
910959b672 Raises error when chat_id is not set 2015-09-04 17:15:44 -03:00
Leandro Toledo
881b0b3d06 Update README.rst 2015-09-02 13:23:11 -03:00
Leandro Toledo
95ecd44c0e Merge pull request #51 from njittam/testing
Adding command handler
2015-09-02 13:20:33 -03:00
njittam
9241534ba6 Create command_handler_example.py
this is an example of how to write a commandHandler
2015-09-02 16:21:11 +02:00
njittam
256d219862 A command handler
I saw in the TODO list on pypi that you wanted a commandhandler. 
I am not sure about the run and run_once commands.
and  I didn't implement logging yet.
2015-09-02 16:17:57 +02:00
njittam
8fddd3b027 test for commandHandler
Not everything has a test. and I'm quite new to unit testing so I'm not sure if I am doing this the right way.
2015-09-02 16:11:21 +02:00
njittam
3f3cb1edc5 Update AUTHORS.rst 2015-09-02 16:04:15 +02:00
Leandro Toledo
f037a8c776 Update README.rst 2015-08-29 10:55:23 -03:00
Leandro Toledo
98c489c44f Fix Python 3 2015-08-28 17:53:31 -03:00
Leandro Toledo
a86fc6c2ac Improving the design of existing Telegram classes 2015-08-28 17:45:44 -03:00
Leandro Toledo
1c4595123c Add improvements to tests 2015-08-28 13:28:58 -03:00
Leandro Toledo
942706e20f Add PyPy to travis 2015-08-28 13:09:47 -03:00
Leandro Toledo
6837bef9bb Fix tests for Py2.6 2015-08-28 13:07:12 -03:00
Leandro Toledo
6132e65dc3 Fix travis 2015-08-28 13:04:36 -03:00
Leandro Toledo
0f924508f7 Fix tests and minor changes 2015-08-28 13:02:02 -03:00
Leandro Toledo
b20f5af1e1 Improving the design of existing Telegram classes and adding docstrings 2015-08-28 12:19:30 -03:00
Leandro Toledo
ce58f72566 Merge branch 'testing' of https://github.com/leandrotoledo/python-telegram-bot into testing 2015-08-28 11:11:32 -03:00
Leandro Toledo
f4839a3afe Merge pull request #47 from mASOUDd/testing
Extended the Bot class. Added a dispatching mechanism, and decorators to add commands.
2015-08-28 10:50:18 -03:00
Masoud Naservand
25f9eb7898 Extended the Bot class. Added a dispatching mechanism,
and decorators to add command to the bot the flask routing style, e.g:
>>> @bot.command('/start')
... def start(command, user_id):
...    return ('Hello, there', None, None)
2015-08-28 18:08:03 +04:30
Leandro Toledo
c625b9a449 Update README.rst 2015-08-26 21:45:09 -03:00
Leandro Toledo
e239315cca Merge pull request #46 from rahiel/master
add remaining chat actions
2015-08-25 11:22:03 -03:00
rahiel
ccdb999e37 add remaining chat actions 2015-08-25 13:45:02 +02:00
Leandro Toledo
2f99b785b2 Merge pull request #45 from rahiel/master
use long polling in examples
2015-08-24 09:26:20 -03:00