koishi-plugin-node-async-bot-all 1.5.0 → 1.5.1
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 +2 -2
- package/package.json +6 -3
package/lib/index.js
CHANGED
|
@@ -49,7 +49,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
49
49
|
var import_os = __toESM(require("os"));
|
|
50
50
|
|
|
51
51
|
// package.json
|
|
52
|
-
var version = "1.5.
|
|
52
|
+
var version = "1.5.1";
|
|
53
53
|
|
|
54
54
|
// src/fun.ts
|
|
55
55
|
function getSystemName() {
|
|
@@ -155,7 +155,7 @@ async function getServer(ctx, session) {
|
|
|
155
155
|
let data;
|
|
156
156
|
let error;
|
|
157
157
|
const time = getHongKongTime();
|
|
158
|
-
if (session.event.guild.id == "757729218" || session.event.guild.id == "
|
|
158
|
+
if (session.event.guild.id == "757729218" || session.event.guild.id == "1047732162") {
|
|
159
159
|
try {
|
|
160
160
|
const response = await fetchWithTimeout("https://api.tasaed.top/get/minecraftServer/", {}, 8e3);
|
|
161
161
|
if (response.ok) {
|
package/package.json
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-node-async-bot-all",
|
|
3
3
|
"description": "NodeAsync Bot插件(自用)",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.1",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
7
|
+
"contributors": [
|
|
8
|
+
"ccd2s <tasaedem@outlook.com>"
|
|
9
|
+
],
|
|
7
10
|
"files": [
|
|
8
11
|
"lib",
|
|
9
12
|
"dist",
|
|
10
13
|
"res"
|
|
11
14
|
],
|
|
12
15
|
"license": "AGPL-3.0",
|
|
16
|
+
"homepage": "https://www.tasaed.top",
|
|
13
17
|
"keywords": [
|
|
14
18
|
"chatbot",
|
|
15
19
|
"koishi",
|
|
@@ -21,13 +25,12 @@
|
|
|
21
25
|
},
|
|
22
26
|
"repository": {
|
|
23
27
|
"type": "git",
|
|
24
|
-
"url": "
|
|
28
|
+
"url": "https://github.com/ccd2s/node-async-bot-all"
|
|
25
29
|
},
|
|
26
30
|
"devDependencies": {
|
|
27
31
|
"@koishijs/client": "^5.30.4"
|
|
28
32
|
},
|
|
29
33
|
"peerDependencies": {
|
|
30
|
-
"@koishijs/plugin-console": "^5.30.4",
|
|
31
34
|
"@koishijs/plugin-help": "^2.4.5",
|
|
32
35
|
"koishi": "^4.18.7"
|
|
33
36
|
}
|