From a81b62e731b6ff050c37be7132f9ff92c648bd19 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 8 Dec 2024 03:00:10 +0100 Subject: [PATCH] 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,