From 8237606ed374cd2c2d6180e78a9fb0f18968949d Mon Sep 17 00:00:00 2001 From: Jerrypluay Date: Sun, 30 Nov 2025 11:11:57 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20chore(apps/music.js):=20clean=20?= =?UTF-8?q?up=20group=20search=20after=20sending=20music=20results=20to=20?= =?UTF-8?q?improve=20functionality?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/music.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/music.js b/apps/music.js index 02d0a5a..cad3a15 100644 --- a/apps/music.js +++ b/apps/music.js @@ -133,10 +133,10 @@ export class CrystelfMusic extends plugin { } const adapter = await YunzaiUtils.getAdapter(e); await Message.emojiLike(e,e.message_id,60,e.group_id,adapter); + await musicSearch.clearGroupSearch(e.group_id); const result = await musicSearch.handleSelection(e, index); if (result.success) { await this.sendMusicResult(e, result); - await musicSearch.clearGroupSearch(e.group_id); } else { await e.reply(`${result.message}`, true); }