Add extra check to bot startup to ensure all roles within `STATISTICS_ROLES` list exists
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先定位 Python bot 的 on_ready 事件,以及 #221 中计划的配置命令。了解 STATISTICS_ROLES 的加载方式,以及连接后如何获取 Discord 角色。完成标准是:启动和配置更改都检查 STATISTICS_ROLES 中命名的每个角色是否存在。
由索引模型根据 Issue 内容生成。
描述
This check will need to be performed in both the on_ready event, and also within the future command that will allow changing of config variables (likely to be /config set <setting> <value>), implemented within #221.
It has to be called from the event/command side rather than from within the config variable loading process, because the config loading is done before the connection to Discord is made (so the existent roles could not be retrieved).
- 主要语言
- Python
- 星标
- 1
- 派生
- 11
- 平均合并
- 2 天 11 小时
- 30 天内合并 PR
- 4
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CSSUoB/TeX-Bot-Py-V2 的其他 Issue
-
dependencies good first issue question
难度 2/5 1-3 小时 新手友好度 66/100
CSSUoB/TeX-Bot-Py-V2#843 · 1 条评论 ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 70/100
CSSUoB/TeX-Bot-Py-V2#828 · 1 个 reaction ·
维护者通常 1 天内回复
-
good first issue
难度 2/5 1-3 小时 新手友好度 65/100
CSSUoB/TeX-Bot-Py-V2#563 ·
维护者通常 1 天内回复
-
dependencies deployment good first issue
难度 3/5 1-2 天 新手友好度 35/100
CSSUoB/TeX-Bot-Py-V2#815 ·
维护者通常 1 天内回复
-
Matplotlib 3.11 Error可能重新可做 @MattyTheHacker 于 100 天前认领,目前没有进行中的 PR。 未关闭
CSSUoB/TeX-Bot-Py-V2#796 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 CSSUoB/TeX-Bot-Py-V2 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
[BUG] Multi-day events show "Ended" while still in progress可能已有人在做 @tarunagnihotri534 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 85/100
data-umbrella/du-event-board#231 · 2 条评论 ·
-
avl_automation: the generated control surface block isn't valid XML (typo in avl_out_parse.py)可能已有人在做 @brksol 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
PX4/PX4-gazebo-models#164 ·