Closed EngShop closed 2 years ago
Hello! To keep the bot in the voice channel on queue end & empty voice channel:
In the play.js file where u declare the queue... Replace
const queue = await player.createQueue(inter.guild, {
metadata: inter.channel,
spotifyBridge: client.config.opt.spotifyBridge,
initialVolume: client.config.opt.defaultvolume,
leaveOnEnd: client.config.opt.leaveOnEnd
});
With
const queue = await player.createQueue(inter.guild, {
metadata: inter.channel,
spotifyBridge: client.config.opt.spotifyBridge,
initialVolume: client.config.opt.defaultvolume,
leaveOnEnd: false,
leaveOnEmpty: false,
});
thanks!
Is there anyway that i can configure the bot to just afk on the voice channel?