feat(player): add %skipto command, empty voice auto-pause, and server mute guard

This commit is contained in:
NoLogicAlan committed 2026-10-27 03:47:02 +03:00
1 parent dfe77d86b9
commit c0c95610ac
12 files changed
+287 -12

No files matched your search

+2
View File
@@ -45,6 +45,8 @@ export async function run(message) {
}
p.resume();
p._autoPausedEmpty = false;
p._serverMutedAutoPaused = false;
const elapsed = p.getCurrentElapsedDuration();
const trackUrl = current.spotifyUrl || current.url || null;
const rawAuthor = current.artist || (typeof current.author === "object" ? current.author?.name : current.author);