mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
fix(music): resolve autoplay candidate exhaustion and voice connection stalls
- Expand autoplay candidate search pool to 20 tracks and increase mix pool TTL to 2 hours - Support multi-stage recommendations using both seed and last-played track - Add resilient fallback in pickAutoplayTrack to prevent playback from halting - Prevent race condition by clearing _playingNext before queueEnd playNext() - Auto-reconnect voice connection before track advancement if connection dropped
This commit is contained in:
1 parent
7df4e0cd36
commit
ed76a6ebfe
3 files changed
+106
-55
No files matched your search
+88
-54
@@ -15,19 +15,19 @@ export const command = new CommandBuilder()
|
|||||||
.addAliases("ap");
|
.addAliases("ap");
|
||||||
|
|
||||||
/** How many candidate results are considered for random picking. */
|
/** How many candidate results are considered for random picking. */
|
||||||
const PICK_POOL = 8;
|
const PICK_POOL = 20;
|
||||||
/** Tracks considered "recently played" and excluded from re-picking. */
|
/** Tracks considered "recently played" and excluded from re-picking. */
|
||||||
const HISTORY_SIZE = 30;
|
const HISTORY_SIZE = 30;
|
||||||
/** Sanity bounds for candidate durations (ms) — skip hour-long mixes and jingles. */
|
/** Sanity bounds for candidate durations (ms) — skip hour-long mixes and jingles. */
|
||||||
const MIN_DURATION_MS = 45_000;
|
const MIN_DURATION_MS = 45_000;
|
||||||
const MAX_DURATION_MS = 15 * 60_000;
|
const MAX_DURATION_MS = 15 * 60_000;
|
||||||
/** Resolved mix candidate pools older than this are discarded. */
|
/** Resolved mix candidate pools older than this are discarded (2 hours). */
|
||||||
const MIX_POOL_TTL_MS = 5 * 60_000;
|
const MIX_POOL_TTL_MS = 2 * 60 * 60_000;
|
||||||
/** Max mix pools cached per player (LRU-style eviction). */
|
/** Max mix pools cached per player (LRU-style eviction). */
|
||||||
const MAX_MIX_POOLS = 4;
|
const MAX_MIX_POOLS = 8;
|
||||||
|
|
||||||
/** Max Last.fm tag lookups per pick (each uncached lookup is a network call). */
|
/** Max Last.fm tag lookups per pick (each uncached lookup is a network call). */
|
||||||
const MAX_TAG_CHECKS = 8;
|
const MAX_TAG_CHECKS = 16;
|
||||||
/** Last.fm tag weights are 0-100 relative to the top tag; ignore the long tail. */
|
/** Last.fm tag weights are 0-100 relative to the top tag; ignore the long tail. */
|
||||||
const TAG_MIN_COUNT = 30;
|
const TAG_MIN_COUNT = 30;
|
||||||
/** Number of genre tags kept per artist. */
|
/** Number of genre tags kept per artist. */
|
||||||
@@ -255,16 +255,19 @@ function rememberTrack(p, track) {
|
|||||||
* Check whether a candidate track is acceptable: not recently played, sane duration.
|
* Check whether a candidate track is acceptable: not recently played, sane duration.
|
||||||
* @param {object} p - The player instance.
|
* @param {object} p - The player instance.
|
||||||
* @param {object} t - Candidate internal track object.
|
* @param {object} t - Candidate internal track object.
|
||||||
|
* @param {boolean} [allowOldHistory=false] - When true, only avoids the most recent 5 songs.
|
||||||
* @returns {boolean} True if the candidate is playable and not a recent repeat.
|
* @returns {boolean} True if the candidate is playable and not a recent repeat.
|
||||||
*/
|
*/
|
||||||
function isCandidateOk(p, t) {
|
function isCandidateOk(p, t, allowOldHistory = false) {
|
||||||
if (!t) return false;
|
if (!t) return false;
|
||||||
const ms = Number(t._durationMs) || (Number(t.duration?.seconds) * 1000) || 0;
|
const ms = Number(t._durationMs) || (Number(t.duration?.seconds) * 1000) || 0;
|
||||||
if (ms && (ms < MIN_DURATION_MS || ms > MAX_DURATION_MS)) return false;
|
if (ms && (ms < MIN_DURATION_MS || ms > MAX_DURATION_MS)) return false;
|
||||||
const vid = extractVideoId(t);
|
const vid = extractVideoId(t);
|
||||||
if (vid && (p._autoplayHistory ?? []).some(h => h.vid === vid)) return false;
|
const history = p._autoplayHistory ?? [];
|
||||||
|
const historySlice = allowOldHistory ? history.slice(-5) : history;
|
||||||
|
if (vid && historySlice.some(h => h.vid === vid)) return false;
|
||||||
const title = String(t?.title ?? "").toLowerCase().trim();
|
const title = String(t?.title ?? "").toLowerCase().trim();
|
||||||
if (title && (p._autoplayHistory ?? []).some(h => h.title && h.title === title)) return false;
|
if (title && historySlice.some(h => h.title && h.title === title)) return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -275,9 +278,10 @@ function isCandidateOk(p, t) {
|
|||||||
* @param {object} p - The player instance.
|
* @param {object} p - The player instance.
|
||||||
* @param {string} videoId - The video ID the pool was resolved from.
|
* @param {string} videoId - The video ID the pool was resolved from.
|
||||||
* @param {(t: object) => Promise<boolean>} [guard] - Optional genre guard.
|
* @param {(t: object) => Promise<boolean>} [guard] - Optional genre guard.
|
||||||
|
* @param {boolean} [allowOldHistory=false] - Whether to relax history exclusion.
|
||||||
* @returns {Promise<object|null>} An acceptable track from the pool, or null.
|
* @returns {Promise<object|null>} An acceptable track from the pool, or null.
|
||||||
*/
|
*/
|
||||||
async function takeFromPool(p, videoId, guard) {
|
async function takeFromPool(p, videoId, guard, allowOldHistory = false) {
|
||||||
const pools = p._autoplayMixPools;
|
const pools = p._autoplayMixPools;
|
||||||
if (!pools) return null;
|
if (!pools) return null;
|
||||||
const pool = pools.get(videoId);
|
const pool = pools.get(videoId);
|
||||||
@@ -286,7 +290,7 @@ async function takeFromPool(p, videoId, guard) {
|
|||||||
pools.delete(videoId);
|
pools.delete(videoId);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
const ok = shuffle(pool.tracks.filter(t => isCandidateOk(p, t)));
|
const ok = shuffle(pool.tracks.filter(t => isCandidateOk(p, t, allowOldHistory)));
|
||||||
const rejected = new Set();
|
const rejected = new Set();
|
||||||
let found = null;
|
let found = null;
|
||||||
for (const t of ok) {
|
for (const t of ok) {
|
||||||
@@ -294,7 +298,7 @@ async function takeFromPool(p, videoId, guard) {
|
|||||||
rejected.add(t);
|
rejected.add(t);
|
||||||
}
|
}
|
||||||
if (rejected.size) pool.tracks = pool.tracks.filter(t => !rejected.has(t));
|
if (rejected.size) pool.tracks = pool.tracks.filter(t => !rejected.has(t));
|
||||||
if (!found && !pool.tracks.some(t => isCandidateOk(p, t))) pools.delete(videoId);
|
if (!found && !pool.tracks.some(t => isCandidateOk(p, t, allowOldHistory))) pools.delete(videoId);
|
||||||
return found;
|
return found;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -320,13 +324,14 @@ function storePool(p, videoId, candidates) {
|
|||||||
* @param {object} p - The player instance.
|
* @param {object} p - The player instance.
|
||||||
* @param {string} query - The search query or URL.
|
* @param {string} query - The search query or URL.
|
||||||
* @param {string} provider - Provider shorthand key ("yt", "ytm", ...).
|
* @param {string} provider - Provider shorthand key ("yt", "ytm", ...).
|
||||||
|
* @param {boolean} [allowOldHistory=false] - Whether to relax history exclusion.
|
||||||
* @returns {Promise<Array<object>>} Acceptable candidate tracks.
|
* @returns {Promise<Array<object>>} Acceptable candidate tracks.
|
||||||
*/
|
*/
|
||||||
async function resolveCandidates(p, query, provider = "ytm") {
|
async function resolveCandidates(p, query, provider = "ytm", allowOldHistory = false) {
|
||||||
const resolved = await p.generalQuery({ query, provider });
|
const resolved = await p.generalQuery({ query, provider });
|
||||||
const list = resolved?.type === "list" ? (resolved.data ?? [])
|
const list = resolved?.type === "list" ? (resolved.data ?? [])
|
||||||
: resolved?.type === "video" && resolved.data ? [resolved.data] : [];
|
: resolved?.type === "video" && resolved.data ? [resolved.data] : [];
|
||||||
return list.filter(t => isCandidateOk(p, t));
|
return list.filter(t => isCandidateOk(p, t, allowOldHistory));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -335,10 +340,11 @@ async function resolveCandidates(p, query, provider = "ytm") {
|
|||||||
* @param {string} query - The search query.
|
* @param {string} query - The search query.
|
||||||
* @param {(t: object) => (boolean|Promise<boolean>)} accept - Extra acceptance test (artist/genre).
|
* @param {(t: object) => (boolean|Promise<boolean>)} accept - Extra acceptance test (artist/genre).
|
||||||
* @param {string} [provider="ytm"] - Provider shorthand key.
|
* @param {string} [provider="ytm"] - Provider shorthand key.
|
||||||
|
* @param {boolean} [allowOldHistory=false] - Whether to relax history exclusion.
|
||||||
* @returns {Promise<object|null>} A passing track, or null.
|
* @returns {Promise<object|null>} A passing track, or null.
|
||||||
*/
|
*/
|
||||||
async function searchAccepted(p, query, accept, provider = "ytm") {
|
async function searchAccepted(p, query, accept, provider = "ytm", allowOldHistory = false) {
|
||||||
const found = await resolveCandidates(p, query, provider);
|
const found = await resolveCandidates(p, query, provider, allowOldHistory);
|
||||||
for (const t of shuffle(found.slice(0, PICK_POOL))) {
|
for (const t of shuffle(found.slice(0, PICK_POOL))) {
|
||||||
if (await accept(t)) return t;
|
if (await accept(t)) return t;
|
||||||
}
|
}
|
||||||
@@ -346,12 +352,8 @@ async function searchAccepted(p, query, accept, provider = "ytm") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Choose the next track. Everything is anchored to the "seed" — the last track a
|
* Choose the next track. Anchored to the seed while allowing smooth progression
|
||||||
* person actually chose — and, when Last.fm is available, every candidate's
|
* and infinite fallback so playback never halts after a handful of tracks.
|
||||||
* artist must share the seed artist's genre tags. Search results must also be by
|
|
||||||
* the artist we asked for, so a title collision (a different band's song with the
|
|
||||||
* same name) can no longer slip through. The old title-only search fallback was
|
|
||||||
* removed for the same reason.
|
|
||||||
* @param {object} p - The player instance.
|
* @param {object} p - The player instance.
|
||||||
* @param {object} ctx - The bot context (needs .lastfm).
|
* @param {object} ctx - The bot context (needs .lastfm).
|
||||||
* @param {object|null} lastTrack - The last played internal track.
|
* @param {object|null} lastTrack - The last played internal track.
|
||||||
@@ -363,6 +365,7 @@ export async function pickAutoplayTrack(p, ctx, lastTrack) {
|
|||||||
const seedArtist = artistOf(seed);
|
const seedArtist = artistOf(seed);
|
||||||
const seedName = titleOf(seed);
|
const seedName = titleOf(seed);
|
||||||
const seedVid = extractVideoId(seed);
|
const seedVid = extractVideoId(seed);
|
||||||
|
const lastVid = extractVideoId(lastTrack);
|
||||||
const lf = ctx?.lastfm?.enabled ? ctx.lastfm : null;
|
const lf = ctx?.lastfm?.enabled ? ctx.lastfm : null;
|
||||||
|
|
||||||
let seedTags = p._autoplaySeedTags ?? null;
|
let seedTags = p._autoplaySeedTags ?? null;
|
||||||
@@ -372,14 +375,14 @@ export async function pickAutoplayTrack(p, ctx, lastTrack) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const budget = { left: MAX_TAG_CHECKS };
|
const budget = { left: MAX_TAG_CHECKS };
|
||||||
/** True if the candidate belongs to the seed's genre (or genre can't be judged). */
|
/** True if candidate matches genre tags or tag budget is exhausted. */
|
||||||
const genreOk = async (t) => {
|
const genreOk = async (t) => {
|
||||||
if (!lf || !seedTags?.size) return true;
|
if (!lf || !seedTags?.size) return true;
|
||||||
const ca = artistOf(t);
|
const ca = artistOf(t);
|
||||||
if (!ca) return false;
|
if (!ca) return true;
|
||||||
if (artistMatches(ca, seedArtist)) return true;
|
if (artistMatches(ca, seedArtist)) return true;
|
||||||
if (!hasFreshTags(ca)) {
|
if (!hasFreshTags(ca)) {
|
||||||
if (budget.left <= 0) return false;
|
if (budget.left <= 0) return true;
|
||||||
budget.left--;
|
budget.left--;
|
||||||
}
|
}
|
||||||
return genreOverlaps(seedTags, await getGenreTags(lf, ca));
|
return genreOverlaps(seedTags, await getGenreTags(lf, ca));
|
||||||
@@ -390,14 +393,18 @@ export async function pickAutoplayTrack(p, ctx, lastTrack) {
|
|||||||
return track;
|
return track;
|
||||||
};
|
};
|
||||||
|
|
||||||
if (seedVid) {
|
/* Check pre-resolved mix pools first */
|
||||||
const pooled = await takeFromPool(p, seedVid, genreOk);
|
const vidsToCheck = [seedVid, lastVid].filter(Boolean);
|
||||||
if (pooled) { p._autoplayPreferredPoolVid = seedVid; return pooled; }
|
for (const v of vidsToCheck) {
|
||||||
|
const pooled = await takeFromPool(p, v, genreOk);
|
||||||
|
if (pooled) { p._autoplayPreferredPoolVid = v; return pooled; }
|
||||||
}
|
}
|
||||||
|
|
||||||
const tryLastfmSimilar = async () => {
|
const tryLastfmSimilar = async () => {
|
||||||
const bases = [seed];
|
const bases = [seed];
|
||||||
if (lastWasPicked && lastTrack && artistOf(lastTrack) && !artistMatches(artistOf(lastTrack), seedArtist)) bases.push(lastTrack);
|
if (lastTrack && (artistOf(lastTrack) !== seedArtist || titleOf(lastTrack) !== seedName)) {
|
||||||
|
bases.push(lastTrack);
|
||||||
|
}
|
||||||
for (const base of bases) {
|
for (const base of bases) {
|
||||||
const bArtist = artistOf(base), bName = titleOf(base);
|
const bArtist = artistOf(base), bName = titleOf(base);
|
||||||
if (!bArtist || !bName) continue;
|
if (!bArtist || !bName) continue;
|
||||||
@@ -417,45 +424,71 @@ export async function pickAutoplayTrack(p, ctx, lastTrack) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const tryLastfmArtists = async () => {
|
const tryLastfmArtists = async () => {
|
||||||
if (!seedArtist) return null;
|
const artists = [seedArtist, artistOf(lastTrack)].filter(Boolean);
|
||||||
try {
|
for (const aName of artists) {
|
||||||
const similar = await lf.getSimilarArtists(seedArtist, 12);
|
try {
|
||||||
for (const a of shuffle(similar.filter(x => x.name)).slice(0, 4)) {
|
const similar = await lf.getSimilarArtists(aName, 12);
|
||||||
const track = await searchAccepted(
|
for (const a of shuffle(similar.filter(x => x.name)).slice(0, 4)) {
|
||||||
p, `${a.name} songs`,
|
const track = await searchAccepted(
|
||||||
async (t) => artistMatches(artistOf(t), a.name) && await genreOk(t),
|
p, `${a.name} songs`,
|
||||||
);
|
async (t) => artistMatches(artistOf(t), a.name) && await genreOk(t),
|
||||||
if (track) return track;
|
);
|
||||||
}
|
if (track) return track;
|
||||||
} catch (e) { logger.warn("[Autoplay] Last.fm similar-artists strategy failed:", e?.message); }
|
}
|
||||||
|
} catch (e) { logger.warn("[Autoplay] Last.fm similar-artists strategy failed:", e?.message); }
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
};
|
};
|
||||||
|
|
||||||
const trySameArtist = async () => {
|
const trySameArtist = async () => {
|
||||||
if (!seedArtist) return null;
|
const artists = [seedArtist, artistOf(lastTrack)].filter(Boolean);
|
||||||
try {
|
for (const a of artists) {
|
||||||
return await searchAccepted(p, `${seedArtist} songs`, (t) => artistMatches(artistOf(t), seedArtist));
|
try {
|
||||||
} catch (e) { logger.warn("[Autoplay] Artist strategy failed:", e?.message); }
|
const track = await searchAccepted(p, `${a} songs`, (t) => artistMatches(artistOf(t), a));
|
||||||
|
if (track) return track;
|
||||||
|
const trackHits = await searchAccepted(p, `${a} top tracks`, (t) => artistMatches(artistOf(t), a));
|
||||||
|
if (trackHits) return trackHits;
|
||||||
|
} catch (e) { logger.warn("[Autoplay] Artist strategy failed:", e?.message); }
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
};
|
};
|
||||||
|
|
||||||
const tryMix = async () => {
|
const tryMix = async () => {
|
||||||
if (!seedVid) return null;
|
for (const v of vidsToCheck) {
|
||||||
|
try {
|
||||||
|
const mixUrl = `https://www.youtube.com/watch?v=${v}&list=RD${v}`;
|
||||||
|
const candidates = await resolveCandidates(p, mixUrl, "yt");
|
||||||
|
if (candidates.length) {
|
||||||
|
storePool(p, v, candidates);
|
||||||
|
const track = await takeFromPool(p, v, genreOk);
|
||||||
|
if (track) { p._autoplayPreferredPoolVid = v; return track; }
|
||||||
|
}
|
||||||
|
} catch (e) { logger.warn("[Autoplay] Mix strategy failed:", e?.message); }
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Robust safety net fallback so playback never dies */
|
||||||
|
const tryFallback = async () => {
|
||||||
try {
|
try {
|
||||||
const mixUrl = `https://www.youtube.com/watch?v=${seedVid}&list=RD${seedVid}`;
|
for (const v of vidsToCheck) {
|
||||||
const candidates = await resolveCandidates(p, mixUrl, "yt");
|
const pooled = await takeFromPool(p, v, null, true);
|
||||||
if (!candidates.length) return null;
|
if (pooled) return pooled;
|
||||||
storePool(p, seedVid, candidates);
|
}
|
||||||
const track = await takeFromPool(p, seedVid, genreOk);
|
const q = lastTrack ? `${artistOf(lastTrack) || seedArtist} radio` : `${seedArtist} music`;
|
||||||
if (track) p._autoplayPreferredPoolVid = seedVid;
|
const fallbackTrack = await searchAccepted(p, q, () => true, "ytm", true);
|
||||||
return track;
|
if (fallbackTrack) return fallbackTrack;
|
||||||
} catch (e) { logger.warn("[Autoplay] Mix strategy failed:", e?.message); }
|
const ytTrack = await searchAccepted(p, `${seedArtist || artistOf(lastTrack)} songs`, () => true, "yt", true);
|
||||||
|
if (ytTrack) return ytTrack;
|
||||||
|
} catch (e) {
|
||||||
|
logger.warn("[Autoplay] Fallback strategy failed:", e?.message);
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
};
|
};
|
||||||
|
|
||||||
const order = lf
|
const order = lf
|
||||||
? [tryLastfmSimilar, tryLastfmArtists, trySameArtist, tryMix]
|
? [tryLastfmSimilar, tryLastfmArtists, trySameArtist, tryMix, tryFallback]
|
||||||
: [tryMix, trySameArtist];
|
: [tryMix, trySameArtist, tryFallback];
|
||||||
|
|
||||||
for (const strat of order) {
|
for (const strat of order) {
|
||||||
const track = await strat();
|
const track = await strat();
|
||||||
@@ -517,6 +550,7 @@ function buildQueueEndHandler(p, ctx) {
|
|||||||
p.addToQueue(track, false);
|
p.addToQueue(track, false);
|
||||||
logger.player(`[Autoplay] Queue ended — added and playing: ${track.title}`);
|
logger.player(`[Autoplay] Queue ended — added and playing: ${track.title}`);
|
||||||
if (!p.queue.getCurrent()) {
|
if (!p.queue.getCurrent()) {
|
||||||
|
p._playingNext = false;
|
||||||
p.playNext().catch(() => {});
|
p.playNext().catch(() => {});
|
||||||
}
|
}
|
||||||
} else if (!track && !p.queue?.getCurrent() && p.queue?.isEmpty() && !p._is247Enabled() && p._autoplay) {
|
} else if (!track && !p.queue?.getCurrent() && p.queue?.isEmpty() && !p._is247Enabled() && p._autoplay) {
|
||||||
|
|||||||
@@ -186,6 +186,15 @@ const PlaybackMixin = {
|
|||||||
this._stopInactivityTimer();
|
this._stopInactivityTimer();
|
||||||
this._wasRadio = songData.type === "radio";
|
this._wasRadio = songData.type === "radio";
|
||||||
|
|
||||||
|
if ((!this._voiceConn || (typeof this._voiceConn.isConnected === "function" && !this._voiceConn.isConnected())) && this._channelId && !this.leaving && !this._destroyed) {
|
||||||
|
try {
|
||||||
|
logger.player(`[Player] Reconnecting voice channel before play: ${this._channelId}`);
|
||||||
|
await this.join(this._channelId);
|
||||||
|
} catch (joinErr) {
|
||||||
|
logger.warn(`[Player] Reconnect before play failed: ${joinErr.message}`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!this._voiceConn || this.leaving) return;
|
if (!this._voiceConn || this.leaving) return;
|
||||||
|
|
||||||
if (this._voiceConn) {
|
if (this._voiceConn) {
|
||||||
|
|||||||
@@ -486,7 +486,8 @@ class Player extends EventEmitter {
|
|||||||
logger.player(`[Player] Busy joining. Ignoring: ${channelId}`);
|
logger.player(`[Player] Busy joining. Ignoring: ${channelId}`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this._voiceConn && this._channelId === channelId) {
|
const isConnActive = this._voiceConn && (typeof this._voiceConn.isConnected !== "function" || this._voiceConn.isConnected());
|
||||||
|
if (isConnActive && this._channelId === channelId) {
|
||||||
logger.player(`[Player] Already in channel: ${channelId}`);
|
logger.player(`[Player] Already in channel: ${channelId}`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -603,6 +604,13 @@ class Player extends EventEmitter {
|
|||||||
voiceConn.on("disconnect", () => {
|
voiceConn.on("disconnect", () => {
|
||||||
if (this.leaving || this._destroyed) return;
|
if (this.leaving || this._destroyed) return;
|
||||||
logger.player(`[Player] Voice connection disconnected`);
|
logger.player(`[Player] Voice connection disconnected`);
|
||||||
|
this._voiceConn = null;
|
||||||
|
this.connection = null;
|
||||||
|
const cId = cleanId(this._channelId ?? this._home247Channel ?? "");
|
||||||
|
if (cId && (this._get247Mode() === "on" || this.queue?.getCurrent() || !(this.queue?.isEmpty?.() ?? true))) {
|
||||||
|
logger.player(`[Player] Voice disconnected with active session — scheduling reconnect to channel ${cId}`);
|
||||||
|
this.join(cId).catch(err => logger.warn(`[Player] Voice reconnect after disconnect failed: ${err?.message}`));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user