mirror of
https://github.com/Zippland/Bubbles.git
synced 2026-01-19 01:21:15 +08:00
优化提醒命令的处理逻辑,修改匹配模式为“提醒我”,并更新示例提示信息。同时,调整玩家改名反馈信息,明确指出是重命名决斗记录中的玩家。
This commit is contained in:
@@ -1165,7 +1165,7 @@ def change_player_name(old_name: str, new_name: str, group_id=None) -> str:
|
||||
result = rank_system.change_player_name(old_name, new_name)
|
||||
|
||||
if result:
|
||||
return f"✅ 已成功将本群中的玩家 \"{old_name}\" 改名为 \"{new_name}\""
|
||||
return f"✅ 已成功将决斗记录中的玩家 \"{old_name}\" 重命名为 \"{new_name}\""
|
||||
else:
|
||||
return f"❌ 改名失败:请确认 \"{old_name}\" 在本群中有战绩记录,且 \"{new_name}\" 名称未被使用"
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user