From a81b62e731b6ff050c37be7132f9ff92c648bd19 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 8 Dec 2024 03:00:10 +0100 Subject: [PATCH 1/2] leave on end --- src/commands/music/play.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/music/play.ts b/src/commands/music/play.ts index 7b0f34e..7f89e41 100644 --- a/src/commands/music/play.ts +++ b/src/commands/music/play.ts @@ -129,6 +129,7 @@ export default { const queue = player.nodes.create(interaction.guild!, { volume: 50, defaultFFmpegFilters: ["silenceremove"], + leaveOnEndCooldown: 5000, metadata: { channel: interaction.channel, } as Metadata, -- 2.45.2 From 173c5c5d869d82b8088aa8828b42e25f00575aed Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 9 Dec 2024 19:14:32 +0100 Subject: [PATCH 2/2] increase to 15s --- src/commands/music/play.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/music/play.ts b/src/commands/music/play.ts index 7f89e41..91251dc 100644 --- a/src/commands/music/play.ts +++ b/src/commands/music/play.ts @@ -129,7 +129,7 @@ export default { const queue = player.nodes.create(interaction.guild!, { volume: 50, defaultFFmpegFilters: ["silenceremove"], - leaveOnEndCooldown: 5000, + leaveOnEndCooldown: 15000, metadata: { channel: interaction.channel, } as Metadata, -- 2.45.2