@cloud411716/fancy-webnovel 0.3.0 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud411716/fancy-webnovel",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -16,7 +16,7 @@ const SCRAPER_TIMEOUT = 30 * 60 * 1000; // 30 分钟
16
16
  export async function apply(ctx) {
17
17
  ctx.commands.register({
18
18
  name: 'fancy-scan',
19
- description: '📊 扫榜分析 自动分析起点、番茄、晋江、七猫榜单并生成报告',
19
+ description: '📊 扫榜分析 ( usage: /fancy-scan )',
20
20
  handler: async (invocation) => {
21
21
  const session = invocation.agent.session;
22
22
 
@@ -15,7 +15,7 @@ export const PLATFORM_TABLE = [
15
15
 
16
16
  export function platformLabel(platform) {
17
17
  const row = PLATFORM_TABLE.find(r => r[1] === platform);
18
- return row ? row[3] : platform;
18
+ return row ? row[2] : platform;
19
19
  }
20
20
 
21
21
  // ---------------------------------------------------------------------------
@@ -70,7 +70,7 @@ export const scan = {
70
70
  platformList() {
71
71
  return (
72
72
  '📋 支持的平台:\n' +
73
- PLATFORM_TABLE.map(r => ` ${r[0]}. ${r[3]}`).join('\n')
73
+ PLATFORM_TABLE.map(r => ` ${r[0]}. ${r[2]}`).join('\n')
74
74
  );
75
75
  },
76
76