2026-03-16
Qiwei
Alma bot 在 Telegram 群组中的消息触发机制存在严重 bug,触发行为取决于 bot 的群组权限:
Bot 是群管理员时:每条消息都会触发回复和处理
Bot 是普通成员时:只有 reply-to(回复 bot 的消息)才会触发,@mention 完全无效
@mention 应该独立于 admin 权限工作
无论 bot 是管理员还是普通成员,@mention 都应该能触发回复
不应该出现"管理员 = 全部触发,成员 = 仅 reply-to"的二元行为差异
群组:Alma_test (chatId: -4849835336)
Bot 权限:普通成员(非管理员)
群主:Qiwei
所有将 Alma bot 添加为普通成员的 Telegram 群组
高 - 影响用户体验,使得 @mention 功能在大多数群组中无法使用
检查触发机制中的权限判断逻辑
将 @mention 触发与 admin 权限解耦
确保 @mention 在任何权限级别下都能正常工作
考虑添加一个可配置的"触发模式"选项(如:仅 @mention、仅 reply-to、两者皆可)
Reply-to 功能正常工作
Bug 是在测试不同群组场景时发现的
需要仔细检查触发条件判断的代码逻辑
Please authenticate to join the conversation.
In Review
Bug Reports
About 3 hours ago

Qiwei Zhao
Get notified by email when there are changes.
In Review
Bug Reports
About 3 hours ago

Qiwei Zhao
Get notified by email when there are changes.