mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-12-05 15:41:56 +00:00
✨ feat(music.js): clear group search after sending music results to improve user experience
This commit is contained in:
parent
840d26300a
commit
b6897704c1
@ -127,6 +127,7 @@ export class CrystelfMusic extends plugin {
|
||||
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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user