Process the exception of the bot being blocked
还没有人认领这个 Issue。
评估
调研方向
首先阅读 base.py 中第 66 行附近的 decorator() 代码,以及 broker.py 中第 46–47 行附近的 callback() 处理逻辑。复现或跟踪 Telegram 针对被阻止 bot 的 403 响应,并确定 callback 应如何处理该响应,避免出现 'bool' object is not subscriptable 错误;完成的标准是能够干净地处理此错误路径。
由索引模型根据 Issue 内容生成。
描述
base.py :66 decorator() Error while sending Telegram message: b'{"ok":false,"error_code":403,"description":"Forbidden: bot was blocked by the user"}'
broker.py :46 callback() Broker callback error
broker.py :47 callback() 'bool' object is not subscriptable
- 主要语言
- Python
- 星标
- 40
- 派生
- 12
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codex-team/codex.bot 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
codex-team/codex.bot#106 ·
-
难度 3/5 1-2 天 新手友好度 20/100
codex-team/codex.bot#88 ·
-
难度 4/5 3-5 天 新手友好度 25/100
codex-team/codex.bot#85 ·
-
难度 5/5 一周以上 新手友好度 25/100
codex-team/codex.bot#84 ·
-
Fix Slack according to new async/await broker format可能重新可做 @n0str 于 3049 天前认领,目前没有进行中的 PR。 未关闭bug
codex-team/codex.bot#78 · 已指派 1 人 ·
查看 codex-team/codex.bot 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 80/100
521xueweihan/HelloGitHub#4063 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 62/100
Vanilla-OS/apx-gui#112 ·
-
Devstral and Voxtral: section 5 fails in us-east-1 with 400 "Model does not support audio modality"未关闭
难度 2/5 1-3 小时 新手友好度 76/100
aws-samples/sample-per-model-bedrock#409 ·
维护者通常 1 天内回复
-
DuckDB 2.0 breaks to_pyarrow_batches可能已有人在做 @DG47 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
ibis-project/ibis#12196 ·
维护者通常 1 天内回复