ehForwarderBot / ehForwarderBot/efb-patch-middleware

Setting custom attributes such as 'check_update' on objects such as 'MessageHandler' of the PTB **library is deprecated.**

Aperta
#9 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
6
Fork
6
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

![image](https://user-images.githubusercontent.com/94276146/170611344-764b4fe6-d584-4b4e-9f81-a373f9f425ff.png)

有个警告,不知道以后会不会有影响,日志:

Initializing middleware patch.PatchMiddleware...
May 27 09:34:09 oracle-centos-2 ehforwarderbot[30884]: /usr/local/lib/python3.6/site-packages/efb_patch_middleware/__init__.py:368: TelegramDeprecationWarning: Setting custom attributes such as 'check_update' on objects such as 'MessageHandler' of the PTB **library is deprecated.**
May 27 09:34:09 oracle-centos-2 ehforwarderbot[30884]: self.handler.check_update = self.check_update
May 27 09:34:09 oracle-centos-2 ehforwarderbot[30884]: 2022-05-27 09:34:09,113 [Level 99]: ehforwarderbot.__main__ (__main__.init; __main__.py:167)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.