mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
hotfix
This commit is contained in:
1 parent
8a8925653c
commit
3a72e46775
12 files changed
+77
-33
No files matched your search
@@ -499,7 +499,7 @@ const BotVoiceMixin = {
|
||||
|
||||
await player.playNext();
|
||||
|
||||
if (current && pos > 0) {
|
||||
if (current && pos > 0 && dur > 0) {
|
||||
await new Promise((r) => setTimeout(r, 800)); // let the bridge settle
|
||||
try { await player.seekToPosition(pos); } catch (_) {}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user