错别字

This commit is contained in:
liuwei
2025-02-17 16:07:18 +08:00
parent b3633caa4e
commit 5db83705e2

View File

@@ -150,14 +150,14 @@ class GroupBotManager:
GroupBotManager.local_cache["group_list"].add(group_id)
# 同步到 Redis
r.sadd("group:list", group_id)
return f"ROT已启用群组 {group_id} 已加入"
return f"BOT已启用群组 {group_id} 已加入"
elif action == "关闭":
GroupBotManager.set_group_permission(group_id, feature, PermissionStatus.DISABLED)
# 关闭群机器人时,从 group:list 中删除 group_id
GroupBotManager.local_cache["group_list"].remove(group_id)
# 同步到 Redis
r.srem("group:list", group_id)
return f"ROT已关闭群组 {group_id} 已移除"
return f"BOT已关闭群组 {group_id} 已移除"
else:
return "无效操作,仅支持启用或关闭"