leave on end

This commit is contained in:
Mylloon 2024-12-08 03:00:10 +01:00
parent 5e70dac177
commit a81b62e731
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -129,6 +129,7 @@ export default {
const queue = player.nodes.create(interaction.guild!, { const queue = player.nodes.create(interaction.guild!, {
volume: 50, volume: 50,
defaultFFmpegFilters: ["silenceremove"], defaultFFmpegFilters: ["silenceremove"],
leaveOnEndCooldown: 5000,
metadata: { metadata: {
channel: interaction.channel, channel: interaction.channel,
} as Metadata, } as Metadata,