ehForwarderBot / ehForwarderBot/efb-patch-middleware

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

未关闭
#9 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
6
派生
6
PR 合并指标
30 天内没有已合并 PR

描述

![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)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。