From 44216cf71ddefcd11a798da814c5cf445506301d Mon Sep 17 00:00:00 2001 From: zhiyu1998 Date: Sat, 18 Mar 2023 13:04:20 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20perf:=20=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E8=8A=82=E6=B5=81=E6=8F=90=E5=8D=87=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/neteasepro.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/neteasepro.js b/apps/neteasepro.js index 33ccf41..a3f4fe4 100644 --- a/apps/neteasepro.js +++ b/apps/neteasepro.js @@ -126,9 +126,9 @@ export class neteasepro extends plugin { const uid = userInfo.uid; // 获取听歌排行榜 const userRecord = await getUserRecord(uid); - e.reply(" 😘亲,这是你的听歌排行榜"); + e.reply(" 😘亲,这是你的听歌排行榜Top10"); // 由于数据过大,取前10 - const rank = userRecord.weekData.map(async item => { + const rank = userRecord.weekData.slice(0, 10).map(async item => { // 组合数据 const song = item.song; return {