koishi-plugin-fenglu-mouth 0.0.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.
Files changed (2) hide show
  1. package/package.json +44 -0
  2. package/readme.md +24 -0
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "koishi-plugin-fenglu-mouth",
3
+ "description": "",
4
+ "version": "0.0.1",
5
+ "main": "lib/index.js",
6
+ "typings": "lib/index.d.ts",
7
+ "files": [
8
+ "lib",
9
+ "dist"
10
+ ],
11
+ "license": "MIT",
12
+ "homepage": "https://github.com/snowwolfair/daynew",
13
+ "bugs": {
14
+ "url": "https://github.com/snowwolfair/daynew/issues"
15
+ },
16
+ "scripts": {},
17
+ "keywords": [
18
+ "chatbot",
19
+ "koishi",
20
+ "plugin"
21
+ ],
22
+ "peerDependencies": {
23
+ "koishi": "^4.18.7"
24
+ },
25
+ "dependencies": {
26
+ "koishi-plugin-adapter-onebot": "^6.8.0"
27
+ },
28
+ "koishi": {
29
+ "description": {
30
+ "en": "Daily 60s News Plugin",
31
+ "zh": "俸禄转换插件"
32
+ },
33
+ "service": {
34
+ "required": [
35
+ "database"
36
+ ],
37
+ "optional": [
38
+ "adapter-onebot"
39
+ ]
40
+ },
41
+ "preview": true,
42
+ "browser": true
43
+ }
44
+ }
package/readme.md ADDED
@@ -0,0 +1,24 @@
1
+ # koishi-plugin-fenglu-mouth
2
+
3
+ [![npm](https://img.shields.io/npm/v/koishi-plugin-fenglu-mouth?style=flat-square)](https://www.npmjs.com/package/koishi-plugin-fenglu-mouth)
4
+
5
+ 一个适用于 QQ onebot 机器人的根据当前银价自动转换工资为俸禄的查询插件
6
+
7
+ # 起源
8
+
9
+ 灵感来源于该梗图
10
+
11
+ <img src="/src/asset/chart.jpg" alt="chart" />
12
+
13
+ # 食用方法
14
+
15
+ - 在群内发送命令 <b style="color: #08b402ff;">elu</b> 或 <b style="color: #08b402ff;">查询俸禄</b> , 然后根据提示输入工资即可查询俸禄
16
+ - 在配置页面需要自行配置 `key`
17
+ - `暂时仅支持的` key 获取地址: [www.goldapi.io](https://www.goldapi.io/)
18
+ - 更换配置获取在不同朝代的俸禄
19
+
20
+ # 注意事项
21
+
22
+ - 目前仅测试了 QQ onebot 机器人可用
23
+ - 请自行添加贵金属价格获取API
24
+ - 目前暂时只支持 `www.goldapi.io` 的 key