mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
feat(player): add %skipto command, empty voice auto-pause, and server mute guard
This commit is contained in:
1 parent
dfe77d86b9
commit
c0c95610ac
12 files changed
+287
-12
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user