koishi-plugin-minecraft-search 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -357,7 +357,7 @@ ${index + 1}. ${removeFormatting(attrs.name || serverName)}
|
|
|
357
357
|
const instanceId = resolveInstanceIdentifier(identifier, minekuaiConfig, config.servers);
|
|
358
358
|
const serverName = getServerName(instanceId, minekuaiConfig, config.servers);
|
|
359
359
|
await minekuaiRequest(ctx, minekuaiConfig, `/servers/${instanceId}/power`, "POST", {
|
|
360
|
-
signal: englishAction
|
|
360
|
+
"signal": englishAction
|
|
361
361
|
});
|
|
362
362
|
let message = `✅ 已发送 ${action} 指令到实例 ${serverName}`;
|
|
363
363
|
if (identifier !== instanceId) {
|