kokkoro-plugin-kfc 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -13,3 +13,7 @@ npm i kokkoro-plugin-kfc
13
13
  ```
14
14
 
15
15
  有关键字 `v50` 就会自动发送段子
16
+
17
+ ## 鸣谢
18
+
19
+ https://github.com/whitescent/KFC-Crazy-Thursday
package/lib/service.js CHANGED
@@ -9,7 +9,7 @@ class KFCService {
9
9
  /** API */
10
10
  api;
11
11
  constructor() {
12
- this.api = 'https://kfc-crazy-thursday.vercel.app/api/index';
12
+ this.api = 'https://kfc.yuki.sh/api/index';
13
13
  }
14
14
  async getMessage() {
15
15
  let message;
package/package.json CHANGED
@@ -1,30 +1,30 @@
1
- {
2
- "name": "kokkoro-plugin-kfc",
3
- "version": "0.0.1",
4
- "description": "肯德基疯狂星期四段子",
5
- "main": "lib/index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/kokkorojs/kokkoro-plugin-kfc.git"
12
- },
13
- "keywords": [
14
- "kokkoro"
15
- ],
16
- "author": "yuki <mail@yuki.sh>",
17
- "license": "MIT",
18
- "bugs": {
19
- "url": "https://github.com/kokkorojs/kokkoro-plugin-kfc/issues"
20
- },
21
- "homepage": "https://github.com/kokkorojs/kokkoro-plugin-kfc#readme",
22
- "devDependencies": {
23
- "@types/node": "^18.11.19",
24
- "axios": "^1.3.2",
25
- "kokkoro": "^2.0.0-alpha.1"
26
- },
27
- "files": [
28
- "lib"
29
- ]
1
+ {
2
+ "name": "kokkoro-plugin-kfc",
3
+ "version": "0.0.2",
4
+ "description": "肯德基疯狂星期四段子",
5
+ "main": "lib/index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/kokkorojs/kokkoro-plugin-kfc.git"
12
+ },
13
+ "keywords": [
14
+ "kokkoro"
15
+ ],
16
+ "author": "yuki <mail@yuki.sh>",
17
+ "license": "MIT",
18
+ "bugs": {
19
+ "url": "https://github.com/kokkorojs/kokkoro-plugin-kfc/issues"
20
+ },
21
+ "homepage": "https://github.com/kokkorojs/kokkoro-plugin-kfc#readme",
22
+ "devDependencies": {
23
+ "@types/node": "^18.11.19",
24
+ "axios": "^1.3.2",
25
+ "kokkoro": "^2.0.0-alpha.1"
26
+ },
27
+ "files": [
28
+ "lib"
29
+ ]
30
30
  }