feat: More user-friendly packetServer error message

This commit is contained in:
pk5ls20
2024-10-20 07:28:55 +08:00
parent 31c4540ec6
commit 16a2e5e996
3 changed files with 5 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ export abstract class GetPacketStatusDepends<PT, RT> extends BaseAction<PT, RT>
if (!this.core.apis.PacketApi.available) {
return {
valid: false,
message: "PacketClient is not available!",
message: "packetServer不可用请参照文档 https://napneko.github.io/config/advanced 检查packetServer状态或进行配置",
}
}
return {