Skip to content

Commit 9c43e65

Browse files
author
Marchccc
committed
no message
1 parent 6c6e5ad commit 9c43e65

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# koishi-plugin-api-handler
22

3-
[![npm](https://img.shields.io/npm/v/koishi-plugin-echoapi?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-echoapi)
3+
[![npm](https://img.shields.io/npm/v/koishi-plugin-api-handler?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-api-handler)
44

55
识别以特定前缀开头的消息,并通过POST请求调用API,将API的响应直接作为回复发送。

package.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "koishi-plugin-echoapi",
3-
"description": "检测消息内容,并在内容符合预设规则时调用指定 API 生成回应",
4-
"version": "0.0.1",
2+
"name": "koishi-plugin-api-handler",
3+
"description": "识别以特定前缀开头的消息,并通过POST请求调用API,将API的响应直接作为回复发送",
4+
"version": "1.0.0",
55
"main": "lib/index.js",
66
"typings": "lib/index.d.ts",
77
"files": [
@@ -13,10 +13,15 @@
1313
"keywords": [
1414
"chatbot",
1515
"koishi",
16-
"plugin"
16+
"plugin",
17+
"api",
18+
"handler"
1719
],
1820
"devDependencies": {},
1921
"peerDependencies": {
2022
"koishi": "^4.17.9"
21-
}
23+
},
24+
"homepage": "https://github.com/Marchccc/koishi-plugin-api-handler",
25+
"repository": "[email protected]:Marchccc/koishi-plugin-api-handler.git",
26+
"author": "Marchccc <[email protected]>"
2227
}

0 commit comments

Comments
 (0)