style: 统一命令描述

This commit is contained in:
3cxc
2026-02-12 18:02:04 +08:00
parent c19d4c2f9f
commit c1ed092161
2 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ namespace EasyTools.Commands
public string[] Aliases => ["suicide"]; public string[] Aliases => ["suicide"];
public string Description => "防卡死命令"; public string Description => "自救命令";
public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response) public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out string response)
{ {

View File

@@ -7,11 +7,11 @@ namespace EasyTools.Configs
{ {
public class TranslateConfig public class TranslateConfig
{ {
[Description("卡虚空自救指令_错误")] [Description("自救指令_错误")]
public string RescueCommandError { get; set; } = "执行指令时发生错误,请稍后再试"; public string RescueCommandError { get; set; } = "执行指令时发生错误,请稍后再试";
[Description("卡虚空自救指令_失败")] [Description("自救指令_失败")]
public string RescueCommandFailed { get; set; } = "失败,可能指令未启用或者身份不允许等"; public string RescueCommandFailed { get; set; } = "失败,可能指令未启用或者身份不允许等";
[Description("卡虚空自救指令_成功")] [Description("自救指令_成功")]
public string RescueCommandOk { get; set; } = "成功"; public string RescueCommandOk { get; set; } = "成功";
[Description("聊天指令_错误")] [Description("聊天指令_错误")]
public string ChatCommandError { get; set; } = "发送消息时出现错误,请稍后重试"; public string ChatCommandError { get; set; } = "发送消息时出现错误,请稍后重试";