Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FlechazoPh opened this issue May 27, 2022 · 0 comments

Comments

@FlechazoPh
Copy link

image

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

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant