mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
...
This commit is contained in:
1 parent
9d449c7a14
commit
0f0f6ac090
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user