koishi-plugin-fenglu-mouth 0.0.4 → 0.0.6

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.d.ts CHANGED
@@ -4,6 +4,6 @@ export declare const inject: {
4
4
  required: string[];
5
5
  optional: string[];
6
6
  };
7
- export declare const usage = "\n<h1>\u4FF8\u7984\u67E5\u8BE2</h1>\n\n<p>\u76EE\u524D\u4EC5\u6D4B\u8BD5\u4E86 <b>Onebot</b> \u534F\u8BAE</p>\n\n<p>\u4ED3\u5E93\u5730\u5740\uFF1A<a href=\"https://github.com/snowwolfair/fenglu-mouth\">https://github.com/snowwolfair/fenglu-mouth</a></p>\n\n<p style=\"color: #f39c12;\">\u63D2\u4EF6\u4F7F\u7528\u95EE\u9898 / Bug\u53CD\u9988 / \u5EFA\u8BAE \u8BF7 \u6DFB\u52A0\u4F01\u9E45\u7FA4 <b style=\"color: #bd73fa;\">156529412</b> \u6216\u5728\u4ED3\u5E93\u4E2D\u53D1 <a href=\"https://github.com/snowwolfair/daynew/issues\" >issue</a> </p>\n\n<p>\u7075\u611F\u6765\u6E90\u4E8E\u8BE5\u6897\u56FE </p>\n<img src=\"https://github.com/snowwolfair/fenglu-mouth/blob/master/src/asset/chart.jpg\" alt=\"chart\" />\n\n<h2>\u98DF\u7528\u65B9\u6CD5</h2>\n<p> \u5728\u7FA4\u5185\u53D1\u9001\u547D\u4EE4 <b style=\"color: #08b402ff;\">elu</b> \u6216 <b style=\"color: #08b402ff;\">\u67E5\u8BE2\u4FF8\u7984</b> , \u7136\u540E\u6839\u636E\u63D0\u793A\u8F93\u5165\u5DE5\u8D44\u5373\u53EF\u67E5\u8BE2\u4FF8\u7984</p>\n<hr>\n<p> \u76EE\u524D\u4EC5\u652F\u6301\u4F7F\u7528 <b>https://www.goldapi.io</b> \u63D0\u4F9B\u7684 api \u6E90</p>\n<p> \u82E5\u9700\u8981\u4F7F\u7528\u5176\u4ED6 api \u6E90\uFF0C\u8BF7\u901A\u8FC7 <b style=\"color: #bd73fa;\">QQ</b> \u6216\u8005 <b style=\"color: #bd73fa;\">\u63D0\u4EA4issue </b> \u6DFB\u52A0</p>\n";
7
+ export declare const usage = "\n<h1>\u4FF8\u7984\u67E5\u8BE2</h1>\n\n<p>\u76EE\u524D\u4EC5\u6D4B\u8BD5\u4E86 <b>Onebot</b> \u534F\u8BAE</p>\n\n<p>\u4ED3\u5E93\u5730\u5740\uFF1A<a href=\"https://github.com/snowwolfair/fenglu-mouth\">https://github.com/snowwolfair/fenglu-mouth</a></p>\n\n<p style=\"color: #f39c12;\">\u63D2\u4EF6\u4F7F\u7528\u95EE\u9898 / Bug\u53CD\u9988 / \u5EFA\u8BAE \u8BF7 \u6DFB\u52A0\u4F01\u9E45\u7FA4 <b style=\"color: #bd73fa;\">156529412</b> \u6216\u5728\u4ED3\u5E93\u4E2D\u53D1 <a href=\"https://github.com/snowwolfair/daynew/issues\" >issue</a> </p>\n\n<p>\u7075\u611F\u6765\u6E90\u4E8E\u8BE5\u6897\u56FE </p>\n<img src=\"https://github.com/snowwolfair/fenglu-mouth/raw/master/src/asset/chart.jpg\" alt=\"chart\" />\n\n<h2>\u98DF\u7528\u65B9\u6CD5</h2>\n<p> \u5728\u7FA4\u5185\u53D1\u9001\u547D\u4EE4 <b style=\"color: #08b402ff;\">elu</b> \u6216 <b style=\"color: #08b402ff;\">\u67E5\u8BE2\u4FF8\u7984</b> , \u7136\u540E\u6839\u636E\u63D0\u793A\u8F93\u5165\u5DE5\u8D44\u5373\u53EF\u67E5\u8BE2\u4FF8\u7984</p>\n<hr>\n<p> \u76EE\u524D\u4EC5\u652F\u6301\u4F7F\u7528 <b>https://www.goldapi.io</b> \u63D0\u4F9B\u7684 api \u6E90</p>\n<p> \u82E5\u9700\u8981\u4F7F\u7528\u5176\u4ED6 api \u6E90\uFF0C\u8BF7\u901A\u8FC7 <b style=\"color: #bd73fa;\">QQ</b> \u6216\u8005 <b style=\"color: #bd73fa;\">\u63D0\u4EA4issue </b> \u6DFB\u52A0</p>\n";
8
8
  export declare const Config: Schema;
9
9
  export declare function apply(ctx: Context, config: any): void;
package/lib/index.js CHANGED
@@ -43,7 +43,7 @@ var usage = `
43
43
  <p style="color: #f39c12;">插件使用问题 / Bug反馈 / 建议 请 添加企鹅群 <b style="color: #bd73fa;">156529412</b> 或在仓库中发 <a href="https://github.com/snowwolfair/daynew/issues" >issue</a> </p>
44
44
 
45
45
  <p>灵感来源于该梗图 </p>
46
- <img src="https://github.com/snowwolfair/fenglu-mouth/blob/master/src/asset/chart.jpg" alt="chart" />
46
+ <img src="https://github.com/snowwolfair/fenglu-mouth/raw/master/src/asset/chart.jpg" alt="chart" />
47
47
 
48
48
  <h2>食用方法</h2>
49
49
  <p> 在群内发送命令 <b style="color: #08b402ff;">elu</b> 或 <b style="color: #08b402ff;">查询俸禄</b> , 然后根据提示输入工资即可查询俸禄</p>
@@ -165,7 +165,7 @@ function apply(ctx, config) {
165
165
  );
166
166
  const metal = transformMetal.find((item) => item.key == config.conver.metal)?.value || "XAU";
167
167
  const currency = transformCurrency.find((item) => item.key == config.conver.currency)?.value || "USD";
168
- ctx.command("elu 转换俸禄").action(async ({ session }) => {
168
+ ctx.command("elu", "转换俸禄").action(async ({ session }) => {
169
169
  try {
170
170
  const userId = session.userId;
171
171
  const user = session.user;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-fenglu-mouth",
3
3
  "description": "Emolument Change Plugin",
4
- "version": "0.0.4",
4
+ "version": "0.0.6",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [
@@ -28,7 +28,7 @@
28
28
  "koishi": {
29
29
  "description": {
30
30
  "en": "Emolument Change Plugin",
31
- "zh": "俸禄转换插件"
31
+ "zh": "俸禄转换插件,将你的月工资转换为俸禄,看看你属于哪个等级吧\n(接入实时银价查询,俸禄每天都在变(bushi))"
32
32
  },
33
33
  "service": {
34
34
  "required": [