feat: wait 15s before leaving vc after end of music (#209)
All checks were successful
Publish latest version / build (push) Successful in 1m20s

Reviewed-on: #209
Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Co-committed-by: Mylloon <kennel.anri@tutanota.com>
This commit is contained in:
Mylloon 2024-12-09 19:16:56 +01:00 committed by Mylloon
parent 5e70dac177
commit 884d62ceed
Signed by: Forgejo
GPG key ID: E72245C752A07631

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: 15000,
metadata: { metadata: {
channel: interaction.channel, channel: interaction.channel,
} as Metadata, } as Metadata,