From 884d62ceed5014110d9671fdd2da26aa05dd727d Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 9 Dec 2024 19:16:56 +0100 Subject: [PATCH] feat: wait 15s before leaving vc after end of music (#209) Reviewed-on: https://git.mylloon.fr/ConfrerieDuKassoulait/Botanique/pulls/209 Co-authored-by: Mylloon Co-committed-by: Mylloon --- 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..91251dc 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: 15000, metadata: { channel: interaction.channel, } as Metadata,