1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Merge pull request #1633 from coder2020official/master

Update async_telebot.py
This commit is contained in:
Badiboy 2022-07-16 18:04:52 +03:00 committed by GitHub
commit 2b01765627
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -900,5 +900,6 @@ Here are some examples of template:
* [Bincode-telegram-bot](https://github.com/tusharhero/bincode-telegram-bot) by [tusharhero](https://github.com/tusharhero) - Makes [bincodes](https://github.com/tusharhero/bincode) from text provides and also converts them back to text.
* [hydrolib_bot](https://github.com/Mayson90/hydrolib_bot) Toolset for Hydrophilia tabletop game (game cards, rules, structure...).
* [Gugumoe-bot](http://t.me/gugumoe_bot) ([source](https://github.com/GooGuJiang/Gugumoe-bot)) by [咕谷酱](https://gmoe.cc) GuXiaoJiang is a multi-functional robot, such as OSU game information query, IP test, animation screenshot search and other functions.
* [Feedback-bot](https://github.com/coder2020official/feedbackbot) A feedback bot for user-admin communication. Made on AsyncTeleBot, using [template](https://github.com/coder2020official/asynctelebot_template).
**Want to have your bot listed here? Just make a pull request. Only bots with public source code are accepted.**

View File

@ -358,6 +358,7 @@ class AsyncTeleBot:
if self.exception_handler:
self.exception_handler.handle(e)
else: logger.error(str(e))
break
if middlewares:

View File

@ -1816,6 +1816,7 @@ class ApiTelegramException(ApiException):
result)
self.result_json = result_json
self.error_code = result_json['error_code']
self.description = result_json['description']
class RequestTimeout(Exception):
"""