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:
commit
2b01765627
@ -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.
|
* [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...).
|
* [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.
|
* [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.**
|
**Want to have your bot listed here? Just make a pull request. Only bots with public source code are accepted.**
|
||||||
|
@ -358,6 +358,7 @@ class AsyncTeleBot:
|
|||||||
if self.exception_handler:
|
if self.exception_handler:
|
||||||
self.exception_handler.handle(e)
|
self.exception_handler.handle(e)
|
||||||
else: logger.error(str(e))
|
else: logger.error(str(e))
|
||||||
|
break
|
||||||
|
|
||||||
|
|
||||||
if middlewares:
|
if middlewares:
|
||||||
|
@ -1816,6 +1816,7 @@ class ApiTelegramException(ApiException):
|
|||||||
result)
|
result)
|
||||||
self.result_json = result_json
|
self.result_json = result_json
|
||||||
self.error_code = result_json['error_code']
|
self.error_code = result_json['error_code']
|
||||||
|
self.description = result_json['description']
|
||||||
|
|
||||||
class RequestTimeout(Exception):
|
class RequestTimeout(Exception):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user