This commit is contained in:
NoLogicAlan committed 2026-09-02 01:07:03 +03:00
1 parent 9d449c7a14
commit 0f0f6ac090
1 file changed
+1 -1
+1 -1
View File
@@ -136,10 +136,10 @@ export async function run(msg, data) {
await player.leave().catch(() => {});
player.destroy();
if (was247) {
const rejoinDelay = this.config?.timers?.leave247RejoinDelay
?? this.config?.timers?.rejoin247Delay
?? 3_000;
if (was247) {
setTimeout(() => {
this.gatewayHandler?._rejoinChannel?.(cleanGuildId, targetChannelId).catch(err => {
logger.warn(`[Leave] 24/7 rejoin failed for channel ${targetChannelId}:`, err?.message);