Skip to content

Commit

Permalink
修复 Helper 内容换行错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Mundanity-fc authored Jul 30, 2022
1 parent 1dc4d25 commit 8eb443b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KaiheilaBot/commandInterpreter/module/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ private function getHelper(): array
$msg = "FF14 Bot 使用帮助(命令列表)\n";
$msg .= "/任务 [参数(必须)] --- 查询指定的任务信息。参数内容为欲查询的任务名\n";
$msg .= "/翻译 [参数1(必须)] [参数2(必须)] --- 显示指定内容对应的中/英/日文翻译。\n";
$msg .= "/价格 [-i=参数1(必须)] [-w=参数2(必须)] [-c=参数3(可选)] [-h=参数4(可选)] [-t=参数5(可选)] [-d=参数6(可选)] --- 查询指定物品的价格。";
$msg .= "/价格 [-i=参数1(必须)] [-w=参数2(必须)] [-c=参数3(可选)] [-h=参数4(可选)] [-t=参数5(可选)] [-d=参数6(可选)] --- 查询指定物品的价格。\n";
$msg .= "/状态 --- 显示机器人的运行状态。\n";
$msg .= "/帮助 [参数(可选)] --- 显示本条帮助。参数可以为其他指令,此时则显示对应指令的使用帮助,如:/帮助 任务";
$target_id = $this->messageInfo['channelID'];
Expand Down Expand Up @@ -79,4 +79,4 @@ private function getHelper(): array
}
return array($msg, $target_id, $is_quote, $quote, $type);
}
}
}

0 comments on commit 8eb443b

Please sign in to comment.